Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library
 
CSS Library

Advertise Here

CSS Layouts
Web Graphics
Online Tools:

CSS Library: Horizontal CSS Menus: Here

jQuery Drop Line Menu

Author: Dynamic Drive

This menu turns a nested UL list into a horizontal drop line menu, with each sub menu appearing as a single row of links beneath its parent menu. To polish it up, the menu uses a touch of jQuery magic to apply a nice slide down effect to each sub menu as it is revealed.

Demo:

Important: Make sure your page contains a valid doctype for this menu to render properly.

The external files: The menu requires the following support files, which you should upload by default all to the same directory as your page itself:

The CSS/ JavaScript: The below code should be added to the HEAD section of your page:

The HTML:

Code Info

Rate this code:

Date Posted: 06/13/2009

Revision History: None

Usage Terms: Click here

Your Comments (11)

Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.

Comment Pages 2 of 2 pages  <  1 2

I also had trouble centering the menu but overcame it by removing float-left, setting width to 82% and setting left & right margins to auto, as below:
/*float: left;*/
/*width: 100%;*/
width: 82%;
margin-left:auto;
margin-right:auto;
I do however find that the menu does not work in Mozilla Firefox. The bar is invisible until you cursor over it.
Posted by Anne on 07/09, 08:13 AM

Comment Pages 2 of 2 pages  <  1 2


Commenting is not available in this weblog entry.
Copyright 2006-2014 Dynamic Drive Read our Usage Terms before using any of the CSS codes.