Hostgator coupons for up to 99% off hosting for Dynamic Drive visitors!
Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library

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.


The two bullet images used:

The CSS:


Code Info

Rate this code:

Date Posted: 09/14/2006

Revision History: None

Usage Terms: Click here

Your Comments (314)

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 30 of 32 pages « First  <  28 29 30 31 32 >

If i use this same menu as a simple menu (Without hover functionality) this menu wont work in ie7.cant hover in sub menu items cus they are disappear when hover.

removed chord (from css) by me is only

.suckertreemenu ul li a:hover{
background-color: black;
color: white;

Can any body please send me the fix to IE.highly appreciate your effort.thank you in advanced.
Posted by Sanjeewa on 01/29, 11:17 PM
For all those with FLASH problems (menu behind flash); Make sure to publish your flash with the Window Mode in HTML set to Transparent Windowless.
Posted by MK on 02/06, 08:20 PM
i add this code to my user page but can any one help me if i click the Item 1 it will show the full content to the bottom
Posted by karthi on 02/14, 03:28 AM
I use IE 6.0, but error:

Error: 'document.getElementById(...)' is null or not an object

Please help me ! Thanks before.
Posted by arisnb on 02/24, 12:01 AM
What's with the extra </a> closing tag near the end of your HTML?

Posted by Sparks on 02/28, 02:22 PM
I like this script but if you add a style to the last html line (see below), it does not work. Anyone know how to get around this?

Rest of content here
Posted by Bob on 03/01, 03:44 PM
Sorry, it dropped the line.

style='position: absolute; left: 150px; top: 30px;' id="iepara" Rest of content here
Posted by Bob on 03/01, 03:47 PM
hey all, i have tried to use the menu and it looks freat in latest versions of all browsers with exception of IE previous versions. it does not show correctly at all. can anynbody help? please
Posted by David on 03/20, 12:22 AM
Thanks Jchalos,
It helped me.
Posted by Bishesh on 04/12, 02:35 AM
I managed to fix the height problem in IE 7. Hope it helps others as well,

1)Create one more sub folder icon style
For Example:
. suckertreemenu .subfoldericonie{
background: maroon url(media/arrow-right.gif) right center no-repeat; border: 1px solid black; margin-bottom: -3px;
2) In javascript detect the browser and if it is ie 7
then chose the sub folder icon style as the newly created style
if( IE7 )
Posted by Bishesh on 04/12, 07:55 AM

Comment Pages 30 of 32 pages « First  <  28 29 30 31 32 >

Commenting is not available in this weblog entry.
Copyright 2006-2015 Dynamic Drive Read our Usage Terms before using any of the CSS codes.