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 8 of 30 pages « First < 6 7 8 9 10 > Last »
So removing the top/bottom margin helps the problem, it doesn't fix it, as you still need to move slowly over each item and you lose the ability to bad the list items.
If anyone finds an actual fix, please post it here. In the meantime, I added these 4 lines to ".suckertreemenu ul li ul li a{" to take care of ie7 users using the aforementioned methods...
*padding-top: 0px;
*padding-bottom: 0px;
_padding-top: 5px;
_padding-bottom: 5px;
This allows the menu to look the same for all users other than IE7.
If anyone finds an actual fix, please post it here. In the meantime, I added these 4 lines to ".suckertreemenu ul li ul li a{" to take care of ie7 users using the aforementioned methods...
*padding-top: 0px;
*padding-bottom: 0px;
_padding-top: 5px;
_padding-bottom: 5px;
This allows the menu to look the same for all users other than IE7.
I found a DHTML menu maker that did a great job, but the menu alone was 25k and hundreds of lines :-(
Fast, tiny. This is a great menu!
Thank you very much!
Fast, tiny. This is a great menu!
Thank you very much!
finally went and found another drop down that works much much much better. It's a modified version of the original suckerfish menus.
http://www.htmldog.com/articles/suckerfish/dropdowns/
I think the javascript works correctly in this one because it works in every browser I have tried with unlimited margins,padding and borders. Good luck to all.
http://www.htmldog.com/articles/suckerfish/dropdowns/
I think the javascript works correctly in this one because it works in every browser I have tried with unlimited margins,padding and borders. Good luck to all.
used this menu in website.. changed some code so as to show image instead of text.. it works perfect when offline.. but once online, it loads differently.. i mean instead of horizontal it sometimes loads in vertical lines or sometime in two lines.. but once refreshed it gets back to horizontal form..
please is thr anyway tweak to solve this issue..
website is www.drishtee.com
please is thr anyway tweak to solve this issue..
website is www.drishtee.com
sucker tree horizontal sub menu is not dropping down on me.
I visited some site listed on this forum and it seems that javascript and css is being used. I rather not use Javascript if I can help. Can someone please help.
Dwaiba@yahoo.com
I would really appreciate it.
I visited some site listed on this forum and it seems that javascript and css is being used. I rather not use Javascript if I can help. Can someone please help.
Dwaiba@yahoo.com
I would really appreciate it.
I found a few problems using the suckermenu above a inner div displaing form contents...
When droped, the menu stay beneath some objects (like select inputs, applet charts,...)...
I tried to ad the style:z-index to the objects to make sure they'll stay under the menu, but seems not work..
Any idea how to guarantee the drop down will always be ontop other elements?
When droped, the menu stay beneath some objects (like select inputs, applet charts,...)...
I tried to ad the style:z-index to the objects to make sure they'll stay under the menu, but seems not work..
Any idea how to guarantee the drop down will always be ontop other elements?
it works fine for me on my site and the demo here and i am using internet explore but not sure which version it is but it works just fine.
the drop down menu will not show on IE 6.0.2900
as the adaption to my menu didn;t work I just tried the exact example of yours.
I tried other sub menus on all have JS script and my guess that there lies the problem
anyone can help
as the adaption to my menu didn;t work I just tried the exact example of yours.
I tried other sub menus on all have JS script and my guess that there lies the problem
anyone can help
Works great on AppleWebKit (Nokia E61 - Symbian 9)
Thanks a lot for sharing the code
ciao
Thanks a lot for sharing the code
ciao









it really sux this dissapearing.
if the java script has a delay to hide the menu, I think the problem should be solved, but I`m not good at java scripting.