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 2 of 32 pages  <  1 2 3 4 >  Last »

I was able to make this menu work in FF with appropriate dropdowns, but it is having major issues in IE. The links don't line up horizontally and won't display the dropdown list. Any suggestions? I'm using images rather than text for the top menus.
Posted by Emmy on 09/26, 04:07 PM
Hello,

Thanks for this scipt. It is very bice but i have a little problem.

In my site a have a lot of photos and the menu doesn't work untill the photos are loaded.

Do you know how i can resolve this problem ?
Posted by Luis on 09/30, 01:02 PM
Awesome. Just the thing I needed.
Posted by GM on 10/05, 03:45 AM
how to make the submenu dropping horizontal?
Posted by meg on 10/09, 09:38 PM
IE Menu drops BEHIND forms

Does anyone know how to configure this to work around IE. The menu drops behind forms.. in FF it works fine. Any help would be MUCH appreciated.

otherwise the menu has worked excellent for me..

example at:
http://lirebaterealtor.idxbroker.com/idx/search.cfm?clf=3&cid=9689&cnty=1866&countySorterYN=1

THanks
Posted by Peter Armenti on 10/18, 03:07 PM
This is a common IE bug, IE7 should have fixed this.
A solution is to hide all selects with javascript before opening the menu, and un-hiding them later.
I prefer to edit the page layout BTW. (Or wait for IE7 to establish)
Posted by Andrea on 10/19, 02:59 AM
Hi there! I have one problem with IE. If you'll insert some other link UNDER subfoler IE makes UNWANTED line BETWEEN subfolder and LINK which is following subfolder.
example: (via DEMO)
Folder 2
---->SubItem 2.1
---->Folder 2.1
----------->subitem 2.1.1
----------->subitem 2.1.2
- UNWANTED LINE -
---->SubItem 2.2
Posted by Konstantin on 10/22, 05:50 AM
Hi there and thanks for the code! I was wondering - could it be possible to create a menu where the "folder-content" would be horizontally displayed, just like the first level, just under the same, and aligned to the left..?

I know I've tried it before, but not succeeded with aligning it to the left...
Posted by Victor on 10/24, 05:19 AM
Is there a way to stop the menu from wrapping when the browser window is not on maximize. It does an auto-wrap and you cannot click on any of the links because they block one another out.
Posted by valerie on 10/24, 01:35 PM
Hello Everyone,

First off... great work! This is what makes the web fantastic.

My issue revolves around changing the color of the borders. I have been able to successfully accomplish this but the left border of the first menu item (left, top-most) remains black. Does anyone have any suggestions as to how to change the first menu item's left border color to anything other than black?

Thanks.
Posted by Chris on 10/24, 03:18 PM

Comment Pages 2 of 32 pages  <  1 2 3 4 >  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.