Simple Drop-Down Menu | JavaScriptSource

Simple Drop-Down Menu

Konstantin Jagello Apr 18, 2007

General

This clean-looking menu is very simple to implement and can be placed anywhere on a page. Adding or deleting levels is easy to do. The menu is created without tables, using unordered lists and hidden layers.


Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: simpleDropDownMenu.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

(20 comments)

They should expand as need. otherwise, you can do it in the CSS code.

Lee Oct 31, 2008

You would need to set it up in your CSS file.

Lee Oct 31, 2008

How do you change the size of the menu boxes?[br /]thanks, Linda

linda Sep 15, 2008

Is there any way to make it so that the buttons (or filler between buttons) will stretch across the top of a page? I'd like to make the horizontal menu something of a divider from my logo...

nic May 15, 2008

I am using Safari 3.0.4 on a Mac and it seems to be fine.

Chad Bannister Jan 31, 2008