CSS Library: Vertical CSS Menus: Here
SuckerTree Vertical Menu (v1.1)
Author: Dynamic Drive
Nov 8th, 06: Fixed rendering issue in IE7, plus added support for automatic detection of sub menus width. No more configuring the "left" attributes!
This is a vertical, predominantly CSS based (with a touch of JavaScript) multi-level menu. It supports as many sub levels as you desire, plus multiple Suckertree menus on the same page. The CSS and JavaScript automatically adopts to your HTML code in each case.
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 behavior to them. This differs from Suckerfish menu, which merely uses JavaScript to compensate for IE's shortcomings when it comes to CSS, so the menu is more rigid and requires manual changes to the CSS as the number of levels in your menu changes.
Demo:
The single image:
The CSS:
Rate this code:
Date Posted: 11/08/2006
Revision History: Updated Nov 8th, 06' to version 1.1
Usage Terms: Click here
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 18 of 25 pages « First < 16 17 18 19 20 > Last »
Now, I'd like to add three menus to this menu with different CSS styles and can't get it to work.
(1) In the js, I have
var menuids=["menutree1,menutree2"](2) In the css, I duplicated all the styles, but appended a "1" after the menudiv to get menudiv1 with different colors.
(3) On the webpage, I used something like this, but the top ones, link1 and link2, won't display at all.
<div class="menudiv1">
<ul id="menutree2">
<li>Link1</li>
<li>Link2</li>
</ul></div>
<div class="menudiv2">
<ul id="menutree">
<li>Link3</li>
<li>Link4</li>
</ul></div>
Can you help.
I mean can some one help me to make in such a way that the menu will reside on Right hand side and the sub menu will appear on left hand side.
Thanks.
I'm using this menu for quite a while now. Unfortunately theres a small problem. I've modified the menu so the items are really button like. Instead of text in a list item, i've put an image in it. Works great and well on Firefox, Opera and IE7. But NOT on IE6. I've gone through a lot of forums already and rewritten the code, but no success.
Problem: When you go over an item with a submenu, the item you move over is repeated underneat the item, as many times as the submenu has buttons. I think theres a class or ID problem, but I can't find it. Probably theres someone here to help me out?
main page: http://www.oxygym.nl/index.php
menu css: http://www.oxygym.nl/html/menu.css
Hope you can help me out!
Thanks!
I have a vetical navbar I'm working on with image buttons, and I'd like to click on one of them andfour more show up on a second line (hope this makes sense)
Thanks in advance!
I downloaded the code, but the image (arrow) didn't show up. How can I fix it?
Also, the sublist items are transparent until you move over. Can I make it not transparent?
Thanks.
Jen
Comment Pages 18 of 25 pages « First < 16 17 18 19 20 > Last »








