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 (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 13 of 32 pages « First  <  11 12 13 14 15 >  Last »

Great solution. Chris, I know it's been 5 months since your question about the border, "(left, top-most) remains black." You can find that in the HTML, not the CSS in the first couple lines.
Posted by Jason on 03/05, 08:17 PM
I want to use this menu with frames. The menu will reside in the "top" frame and i want to target to the "bottom" frame. Can I just insert the target tag after the href? ex.a href="#" target="bottom" style="border-left: 1px solid black"
And how can I make the submenus visible over the bottom frame instead of being hide thus eliminating having to scroll down.
Posted by Rich LaPadura on 03/07, 10:59 AM
Hey guys!

I have a question about this particular menu..
1. I do not know how to change the font of item1, 2 ect.
2. I do not know how to CENTER the whole table?
can you help?

Thanks
Posted by tyler on 03/08, 10:51 AM
Hi,
How can I centered the sucker menu in an outer div ?
I did some test but I couldn't success.
Thanks.
Best regards.
Posted by Yusuf Akyol on 03/10, 06:40 AM
I am trying to align center and can't - check at page and assist if possible.

Thanks!
Posted by kel on 03/12, 05:07 PM
I'm having trouble making the thing drop down, I have all the links and such and everything else is working except the drop down part
Posted by Tara on 03/19, 11:39 AM
i think this is the same problem as above, but slightly different.

if you move folder 2.1 ABOVE sub item 2.1 the gap appears between the 2 items, so when you try to select the bottom 1 you move over the gap + the menu closes.

any way to remove this gap would be appreciated.
(ie error only)

Many thanks!
Posted by Tom Dunning on 03/20, 06:04 AM
Thank you soo much jchalos, works fine now
Posted by swagg on 03/21, 03:39 PM
How do you change the postition of the menu on the page?
Posted by lefty on 03/31, 07:28 PM
Hello,

Excellent code by the way but when I pad it from the left, the sub menus appear as if it had no padding? How can I fix this without adding padding to the sub menu CSS?

Thanks
Posted by Callum Haywood on 04/05, 08:02 AM

Comment Pages 13 of 32 pages « First  <  11 12 13 14 15 >  Last »

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