JavaScript Dropdown Menu With Multi Levels


JavaScript Drop Down Menu
This multi-level drop down menu script weighs in at only 1.2 KB. It features animation, active header persistence, easy implementation and multiple instance support.

To initialize a drop down menu use the following code:
1var menu=new menu.dd('menu');
2menu.init('menu','menuhover');
You must create a new menu object before initialization. The parameter taken by menu.dd is the variable name used for the object. The object.init function takes 2 parameters: the id of the menu unordered list and the id of the initially sorted column (optional). If you want to exclude a column from sorting then add class=”nosort” to the appropriate table header. The styling of the table is totally customizable via CSS.
This script has been tested in all major browsers and is available free of charge for both personal or commercial projects under the creative commons license. Community support is available here. Paid support is also available, contact me for details.

Click here for the most recent version.

Click here for the demo.

Click here to download.

JavaScript Dropdown Menu With Multi Levels JavaScript Dropdown Menu With Multi Levels Reviewed by JohnBlogger on 6:02 PM Rating: 5

No comments: