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 7 of 32 pages « First < 5 6 7 8 9 > Last »
I'd like to know if someone can combine this with any method of Sliding Doors or Image Tabs so the initial menu is graphically pleasing using tabs, and then the drop downs are basically the same... Thanks!
So, how do I get each horizontal menu link box to have a different background color?
Like the menu on this page...how would you make the background of
"item 1" brown,
"item 2" black,
"Folder 1" green,
"item 3" brown,
"Folder 2" black,
"item 4" green
Anyone here know how to do that?
Thanks,
Tiik
Like the menu on this page...how would you make the background of
"item 1" brown,
"item 2" black,
"Folder 1" green,
"item 3" brown,
"Folder 2" black,
"item 4" green
Anyone here know how to do that?
Thanks,
Tiik
I don't know if jchalos will read this ever, but the change in the Holly Hack, saved me from doing the whole site over.
So thank you for your input and expertise!!!!
So thank you for your input and expertise!!!!
I think I am having a very unique problem.
I have used this code and it works fine for me in FF 2.0 and IE7. here is the link first off. http://www.acerdesign.com/projects/diversified/index.html
ok, so what happens is when you go to the first submenu, Products, when you initially roll over the word Products, the submenu appears and is gigantic. Then when you go down onto the submenu it resizes to the correct size.
Any ideas on a fix? I've altered just about everything in the styles to find a solution and nothing so far.
I have used this code and it works fine for me in FF 2.0 and IE7. here is the link first off. http://www.acerdesign.com/projects/diversified/index.html
ok, so what happens is when you go to the first submenu, Products, when you initially roll over the word Products, the submenu appears and is gigantic. Then when you go down onto the submenu it resizes to the correct size.
Any ideas on a fix? I've altered just about everything in the styles to find a solution and nothing so far.
In IE7 Products not work, same as our problem on http://www.mures.ro
I think the fix for IE is
10x to jchalo ;) who gave the idea.
* html .suckertreemenu ul li ul li a{ margin-top:-2px; }
10x to jchalo ;) who gave the idea.
just tried that code Joro and it still didn't work for the dissapearing act the drop downs do in IE7.
Found a partial solution to the IE7 sub menu disappearing.
It seems that the problem lies with the top and bottom padding values in:
.suckertreemenu ul li ul li
.suckertreemenu ul li ul li a
if you set these to 0 you dont get rid of the dissapearing menu in IE7. Only draw back, you can't have padded menu cells :(
Hope this helps someone
It seems that the problem lies with the top and bottom padding values in:
.suckertreemenu ul li ul li
.suckertreemenu ul li ul li a
if you set these to 0 you dont get rid of the dissapearing menu in IE7. Only draw back, you can't have padded menu cells :(
Hope this helps someone
Sorry that should say:
if you set these to 0 you get rid of the dissapearing menu in IE7. Only draw back, you can't have padded menu cells :(
if you set these to 0 you get rid of the dissapearing menu in IE7. Only draw back, you can't have padded menu cells :(
Work perfect with Safari. See it here:
Unfortunately, my design requires to put the menu on the bottom of the page.
Does anyone know how to modify it, so that the sub menu items go up, NOT down below the base items?
Commenting is not available in this weblog entry.
http://www.acrista.com/menutest.htmlUnfortunately, my design requires to put the menu on the bottom of the page.
Does anyone know how to modify it, so that the sub menu items go up, NOT down below the base items?







