Can you teach me, how to make menu drop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can you teach me, how to make menu drop?

18th Nov 2017, 10:54 AM
Yuli Akbar
Yuli Akbar - avatar
9 Answers
+ 6
paste it in head tag... <script src="https://code.jquery.com/jquery-3.1.1.js"></script> and in javascript.... function toggle() { $("#listmenu").slideToggle(); } ....don't forget to add this attribute in Element with id Menu..... onclick="toggle()"
18th Nov 2017, 1:48 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 6
can't get your question. Please describe it
18th Nov 2017, 4:55 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
18th Nov 2017, 1:19 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 5
use slideToggle()(Function of Jquery) as one clicks on the menu icon to show/hide the element with id "listmenu".
18th Nov 2017, 1:28 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 1
can resolve my codes? i want a make menu. with display none and block. what must i use javascript? https://code.sololearn.com/Wv7oWD09kJao/?ref=app
18th Nov 2017, 1:22 PM
Yuli Akbar
Yuli Akbar - avatar
+ 1
thank you so much nafis.
18th Nov 2017, 2:39 PM
Yuli Akbar
Yuli Akbar - avatar
+ 1
i want to know, how to make it from left/right? what's the function?
18th Nov 2017, 3:14 PM
Yuli Akbar
Yuli Akbar - avatar
0
can you resolve it? i really noob for javascript
18th Nov 2017, 1:36 PM
Yuli Akbar
Yuli Akbar - avatar
0
function toggle make slide up and down, how to make slide from beside
18th Nov 2017, 10:27 PM
Yuli Akbar
Yuli Akbar - avatar