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 28 of 30 pages « First  <  26 27 28 29 30 >

Eli Perelman,

Thank you very much for the center div help! I now have my text center correctly. Yeah!
Posted by chill on 07/20, 11:50 PM
I am currently using the horizontal menu and have everything working fine in IE7, but in FF2 when I have an iframe with a google map in it the drop down menu portion no longer works.

I removed the iframe and everything is okay as well as changed z-index to no avail.

Could someone please help me shed some light on this problem?
Posted by dwelsh on 07/25, 12:41 PM
Bug:
when is display the sub menu as bellow

1- display on the right

2- display on the left

3- display on the right

....

impossible to display the sub menu on the left

if any parent are current display, the sub menu

cannot show.
Posted by CHAMNAN on 08/05, 07:57 PM
Hey, thanks man. Jchalos it helped much to me, because i am making one web page, that i need to complete ASAP, and i am using this tree menu script. Thanks.
Posted by Edgars on 08/14, 06:54 AM
I found this menu is useful for my project
Posted by Arif on 08/16, 12:58 AM
I am using the menu above an embedded Flash movie. It seems to work alright in Safari and Firefox but not in IE PC. The menu seems to open behind the Flash movie on the PC. Is there anything I can do?
Posted by Jerry Tucker on 08/19, 09:42 AM
I have the same problem - in IE submenu disappears when trying to go down in menu.. How can I fix this ? Help !
Posted by Justine on 08/22, 06:30 AM
Hi all

I'm really pleased with this menu, have a look at the link, I've been able to modify it to a very individual look. (Well I think so...)

BUT...

How would you go about having multiple menus on a page?

How would you get it to respond to seperate css?

Regards

Dave

PS - A trick for getting the menu to get the Z-Index to work in IE 6&7:

.suckertreemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
font-size: small;
font-style: normal;
z-index: 50;
position: relative; /* This causes the Z-Index to work correctly in IE6&7 */
}
Posted by Dave on 08/28, 10:19 AM
Hi... Right I've started to try and get to grips with this..

I would like to have both a horizontal and a vertical menus on the same page...

It would seem that the two sets of JavaScript do not coexist on the same page.

The Vertical seems to be dominant and as soon as its added it seems to stop the horizontal menu from working.

I'm not a JavaScript programmer (Yet...?!?!)

Is it possible to have both Horzontal and Vertial Menus coexting on the same page?

Thanks

Dave
Posted by Dave on 08/28, 11:36 AM
OK.. Done It...

simply change the "var menuids" id's to be different so I made one "var menuid":

var menuids=["treemenu1"] //Enter id(s) of SuckerTree UL menus, separated by commas

var menuid=["suckerfish1"] //Enter id(s) of SuckerTree UL menus, separated by commas

If you follow...

Regards

Dave
Posted by Dave on 08/28, 12:47 PM

Comment Pages 28 of 30 pages « First  <  26 27 28 29 30 >

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