Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best Javascript drop-down menu? [closed]

I am looking for a drop-down JavaScript menu.

It should be the simplest and most elegant accessible menu that works in IE6 and Firefox 2 also. It would be fine if it worked on an unnumbered list (ul) so the user can use the page without JavaScript support.

Which one do you recommend and where can I find the code to such a menu?

like image 698
Germstorm Avatar asked Sep 19 '08 12:09

Germstorm


People also ask

How do I stop dropdown menu to close menu items on clicking outside?

For Bootstrap 4, look for the clickEvent , and when found in the hide event, prevent the default close behavior. This dropdown will only close when the button is clicked. In some cases, you may want the Dropdown to close when the button or menu is clicked. In this case you can examine the clickEvent target.

Are drop-down menus good?

From a design standpoint, however, drop-down menus are an excellent feature because they help clean up a busy layout. If structured correctly, drop-down menus can be a great navigation tool, while still being a usable and attractive design feature. Yes, that's right: drop-down navigation menus can be user-friendly.

How do you create a dropdown list in JavaScript?

The <select> tab is used with <option> tab to create the simple dropdown list in HTML. After that JavaScript helps to perform operation with this list. Other than this, you can use the container tab <div> to create the dropdown list. Add the dropdown items and links inside it.


1 Answers

I think the jquery superfish menu is fantastic and easy to use:

http://users.tpg.com.au/j_birch/plugins/superfish/

Javascript is not required, and it is based on simple valid ul unorder lists.

like image 117
Buzz Avatar answered Sep 27 '22 23:09

Buzz