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 (283)

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

It works in Safari, too! :-)
Posted by Maria Ny on 04/11, 04:48 PM
How do I center the links in an existing DIV?
Posted by gabe on 04/22, 02:11 AM
I know it won't look exactly like the original, but here is how I centered the links inside the <div>. Change the following CSS sections to:

<code>
#underlinemenu ul{
margin: 0;
margin-bottom: 1em;
padding-left: 0;
padding-top: 2px;
padding-bottom: 4px;
float: left;
font-weight: bold;
width: 100%;
border: 1px solid #DFDFDF;
border-width: 1px 0;
}

#underlinemenu ul li a{
float: center;
color: gray;
font-weight: bold;
padding: 2px 6px 4px 6px;
text-decoration: none;
background: white url(media/menudivide.gif) top right repeat-y;
Posted by Eli Perelman on 04/23, 10:23 AM
GAY ASS MENU
Posted by Forrest on 04/24, 11:52 AM
Working well in windows :-)
Posted by rajeev on 04/25, 05:39 AM
I got this menu to work only on Safari on my Mac (where I design). Firefox, Netscape won't even show the menu at all. I tried it on our Windows computer and only IE showed it (not Firefox there either), but only showing the sub-level links when on the first level...scrolling down to them they disappear quick. Help!
Posted by Andrea on 05/01, 07:16 AM
...does the Doc Type determine why the menu won't show up? (XHTML 1.0 vs. HTMl 4.01 . . . transitional vs. strict, etc.?)
Posted by Andrea on 05/01, 07:22 AM
yes, thanks for the help! it helps a lot... i have used it already with one of my previous works.
Posted by eloy on 05/01, 08:14 AM
2nd level submenu for more than 1 submenu not wrkng
Posted by ss on 05/02, 04:02 AM
what up doh,

i like this menu a lot, very flexible.

i used it previously without incident, now however i have the sub menu's going over-top of a flash banner.

i used a z-index and all works well, except that the submenu "shifts" to the right one pixel where the menu crosses over the flash. does anyone know what causes this?
Posted by Austin on 05/03, 08:06 AM

Comment Pages 25 of 29 pages « First  <  23 24 25 26 27 >  Last »

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