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

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
Eli Perelman,

Thank you very much for the center div help! I now have my text center correctly. Yeah!
Posted by chill on 07/20, 11:50 PM
I am currently using the horizontal menu and have everything working fine in IE7, but in FF2 when I have an iframe with a google map in it the drop down menu portion no longer works.

I removed the iframe and everything is okay as well as changed z-index to no avail.

Could someone please help me shed some light on this problem?
Posted by dwelsh on 07/25, 12:41 PM
Bug:
when is display the sub menu as bellow

1- display on the right

2- display on the left

3- display on the right

....

impossible to display the sub menu on the left

if any parent are current display, the sub menu

cannot show.
Posted by CHAMNAN on 08/05, 07:57 PM

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

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