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









