Dropdown Menu | JavaScriptSource

Dropdown Menu

JavaScriptSource Staff Oct 1, 2008

General

This is a very nice animated dropdown menu. Highly customizable, using unobtrusive JavaScript and CSS. Easy to implement.


Demo Demo2 Demo3

Notes

To display the menu from bottom to top:
menu.bottomToTop = true;
To set CSS styles to the menu:
menu.menuCssClass = 'menuCssStyle';
menu.menuItemCssClass = 'menuItemCssStyle'
To display the menu without the animation:
menu.animationType = 0;

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: sclmenu.js


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(10 comments)

Without knowing the exact situation and the error message, it would ne hard to answer your question. Your question would be best answered over on [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]the JavaScript forum[/a]. Thanks!

Lee Dec 2, 2008

Hi, I want to use this script but it keeps prompting the warning message about ActiveX in IE &. Any solution?

Poyi Nov 21, 2008

Wow..... very nice thanks

Riyan Nov 8, 2008

Well, Clyde, as stated at the top of these comments, we don't provide that kind of help. That's why we recommend the forums. You don't "find" anything there, you post your problem and you will get help.

Lee Nov 6, 2008

Your question is beyond the scope of these comments. You will need to post it over on [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]the JavaScript forum[/a]. Thanks!

Lee Nov 6, 2008