View Full Version : Need Drop Down Menu Code

07-23-2007, 12:02 AM
I'm looking for code that will allow me to build a drop down menu system.
Here's the requirements I'm looking to meet:
-Modify 1 file (xml or js or something) to modify the menu. I don't want to have to modify every page to change the menu.
-Mouseover / out shows hides second level items
-Css Compatible. I want the menu to be able to adapt to the css I already have written for my current menu.
-Cross Browser Compatability. I want it to work in both Firefox and IE
-I don't want flash.
-I don't want frames.

If anyone has/can get me code that will accomplish the above, it'd be greatly appreciated.


07-23-2007, 12:15 AM
We've got no bloomin' end of 'em. One or two of them are actually worth the price of cow dung. Have a look (http://www.dynamicdrive.com/dynamicindex1/index.html).

07-23-2007, 12:37 AM
I looked through there and wasn't able to find one that supported both css customization and editing 1 file to edit the menu contents.

07-23-2007, 12:44 AM
You could modify most/all of those without too much trouble to place it into an external .js file, etc.

07-23-2007, 12:56 AM
How can I get the menu items in an external .js file to use my css?

07-23-2007, 01:02 AM
That could be defined with an external .css file.

Or you could keep both in the head section of the page, if you really need them together.

07-23-2007, 01:06 AM
I understand that I'd define it with a css file. My question is exactly how would I define the css in a js file so that it would accept the css formatting?