Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library
 
CSS Library
Submit an original CSS code
CSS Layouts
Web Graphics
Online Tools:

Advertise Here

CSS Library: Horizontal CSS Menus: Here

SuckerTree Horizontal Menu

Author: Dynamic Drive

SuckerTree Horizontal Menu is a CSS and DOM hybrid menu that's list based and supports multiple levels of sub menus. The trick to SuckerTree is a small adoptable piece of JavaScript that crawls the inner levels of a list menu and assigns the appropriate show/hide and positioning behavior to them. You can even have multiple SuckerTree menus on the same page.

See also: SuckerTree Vertical Menu.

Demo:

The two bullet images used:

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 09/14/2006

Revision History: None

Usage Terms: Click here

Your Comments (298)

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 6 of 30 pages « First  <  4 5 6 7 8 >  Last »

It doesn't work properly in IE6 or 7 for me. If i move my cursor down the submenu, all the submenu expand till the end of the page. In firefox its perfectly alright.

Also can someone help me in making this menu right aligned I want this to align right on my webpage.
Posted by Swati on 11/23, 12:19 AM
for all those who are having problems with this fantastic script, i have a solution if under ie 5,6,7 your sub menu items aren't selectable e.g. disappear when you roll over them etc.. then all you have to do is copy the javascript and css from the pages source this will fix your problem... i hope this helps others as this issue had me perplexed for ages...

peace
Posted by Hoon on 11/23, 02:47 AM
"copy the javascript and css from the pages source..." - what do you mean, keep it all in external files?
Posted by Ryan on 11/23, 08:25 AM
Hi,
I used the css code and the html code and it worked perfectly. If i have a table under the menu it works perfectly but if i have a container div under the menu it disapears behind the container div and is unselectable. What´s the problem? I tried with z-index but it doesn´t work. Does anyone know about this?
Thanks in advance
Posted by Jungle on 11/27, 07:06 AM
Anything on the bug in ie7 when moving over items too fast?

Has anyone figured out how to fix this?
Posted by J on 11/27, 03:07 PM
Challenge Question:
How this manu can be CENTER Align? It always appear as left align.

Posted by Center Align Only on 11/28, 02:28 PM
@Center Align:

Put it in a div and center align the div.
Posted by J on 11/28, 04:16 PM
I already tested it. Center Align does not work with DIV. Actually, it center align the text of menu, not menu.
Posted by center on 11/28, 04:20 PM
Beautiful
Posted by Giovanna on 11/29, 09:58 AM
Google center aligning a div then, because it isnt a problem with the menu.

On a more important note, IE7 fast movement bug.

It seems that the problem does not appear when you have a few submenus in a row. However, the menu item 2 items down from the sub menu does experience the bug.

Any ideas?
Posted by j on 11/30, 10:41 AM

Comment Pages 6 of 30 pages « First  <  4 5 6 7 8 >  Last »

Name: (Required)

Email: (Required)

(NOT shown on page)

URL:

(Shown on page if entered)

Comments: (Required)

Supported BB codes: [b], [i], [u], [em], [strike], [strong], [pre], [code], and [blockquote].

Remember my personal information
Notify me of follow-up comments?

Submit the word you see below ("previewing" post does not require it):


Copyright 2006-2008 Dynamic Drive Read our Usage Terms before using any of the CSS codes.
Dynamic Drive DHTML and CSS Code Library