Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library
 
CSS Library
Submit an original CSS code
CSS Layouts
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 (284)

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 27 of 29 pages « First  <  25 26 27 28 29 >

damned!
I used an external CSS for defining my "A:Link, A:Visited..." etc.
In Opera it works without any problem.
But with the IE there ist no menu shown, only the words under each other.

I searched and searched and searched an NOBODY told me about my mistake! :-(

After changing the css to "A.norm:Link, A.norm:Visited..." it works fine!

THANKS!
Posted by Martin on 06/04, 01:13 PM
Hi everyone!

My web site is not listed becaues it is not complete, but the Sucker Tree Horiziontal Menu is idea for the my web design in my main web page. Althoungh, my page is not complete, to the creator "Thank You" for the script and a host of ideas of developing useful menu items.

So far with the implementation of the menu items, there does not appear to be any issues of coding (copy and paste), customizing, or operation in the site.

Once again, Thank you.
Posted by carl on 06/05, 11:28 AM
Is there any way to prevent the shifting in IE when you hover over links? It is quite annoying. It doesn't do this in firefox. It seems like when you hover, it shifts the rest of the page down a notch. Thanks for your help-
Posted by Tara J. Fuller on 06/06, 11:16 AM
Hi there,

For the above example, if we do not want to display one menu Item for eg:Item 2 on a particular page but needed on another page, does anyone have an idea how to do that?
Posted by mask on 06/09, 10:17 AM
how do you alight the links or text to the left in this menu? tried simple <align="left"> in the html code but it didn't seem to function right
Posted by Andy Scolaro on 06/27, 10:38 AM
Hi guys,
this might be easy but I can't figure it out.
How to drop UP instead of drop down the sub-menus ?
It seems to me there is something about tweaking this line:
ultags[t].style.top=ultags[t].parentNode.offsetHeight+"px"

any help/direction is appreciated, thanks.
Posted by Giorgio on 06/29, 11:05 AM
For the submenus that have folders (shoot out to the right) the gap inbetween (not shown in this example) is very large, and when you mouse over it the entire drop down closes. This is not related to a padding CSS Style because I rewrote nearly all of it.

This has been a good menu, but there are problems with it that will drive you crazy!
Posted by Brian Fancett on 06/29, 06:30 PM
when i minimize the web browser why does the menu slide to the left and not maintain it's position on the screen? how do i fix this? need to resolve this issue anybody know what i'm talking about here?
Posted by Andy Scolaro on 07/02, 11:45 AM
Hi I really like this. I will definetly use this in my future layout :D It really sounds great!
Posted by Jenny on 07/07, 07:38 PM
This problem occurs in Firefox 3 with the following menu structure

Root
- Child 1
- - Child 1.1
- - Child 1.2
- - Child 1.3
- Child 2
- - Child 2.1
- - Child 2.2
- - Child 2.3
- - Child 2.4

When you put the mouse over Root - Child 1 and 2 appear, and when you do the same to Child 1 its children appear. However if you put the mouse over Child 2, Child 1.1 still appears!!

Thanks
Posted by Fred on 07/14, 10:02 AM

Comment Pages 27 of 29 pages « First  <  25 26 27 28 29 >

Name: (Required)

Email: (Required)

(NOT shown on page)

URL:

(Shown on page if entered)

Comments: (Required)

Supported BB codes: [b], [i], [u], [em], [strike], [strong], [pre], [code], and [blockquote].

Remember my personal information
Notify me of follow-up comments?

Submit the word you see below ("previewing" post does not require it):


Copyright 2006-2008 Dynamic Drive Read our Usage Terms before using any of the CSS codes.
Dynamic Drive DHTML and CSS Code Library