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 9 of 28 pages « First < 7 8 9 10 11 > Last »
.suckertreemenu ul li ul li{
display:table-row;
float: none;
}
Change to:
.suckertreemenu ul li ul li{
display:table-column;
float: none;
}
your response is much appreciated.
Many Thanks
ps. these codes are currently implented in an external .css file.
In regards to the above suggestion you've made. I have just tried to implent you solution but unfortunately the problem remains. Unfortunately i do not have a website to show you the problem. Like I've mentioned earlier the problem only lies when you put the CSS in an external file.
ot sure if anyone else had this problem. Please do let me know.
Many thanks
Farhad
as for this vertical menu...how can i make the submenu appear below the main menu instead of sliding out to the side of the main menu?the event is like this->when i cliked the main menu..the submenu appear below it and stay plus the other main menu below the submenu is still visible...i hope you can understand what i mean...:-)
Thanks.
so rather than as you hover over the menu's the 'flyouts' are displayed, they are not visible until there is an .onclick command rather than an .onmouseover
i have tried the .onclick but have yet to find a way of clearing the 'flyouts' when you move to another menu item, as they are either blank (using .onmouseout) or if you remove this filter then the flyouts overlap each other.
Please assist.
Thanks a lot.
Anna
..GREAT........
............Bobby
I need to use 2 menus on the same page. For some reason it only works in IE and not FF (the flyout menus don't work and links will not open in a new window).
Any thoughts??
Thanks!!
Jennie







Here is the solution:
.suckertreemenu ul li ul li{
display:table-row;
float: none;
}