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:
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 >
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?
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?
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.
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.
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.
I found this menu is useful for my project
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?
I have the same problem - in IE submenu disappears when trying to go down in menu.. How can I fix this ? Help !
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 */
}
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 */
}
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
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
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
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









Thank you very much for the center div help! I now have my text center correctly. Yeah!