...

View Full Version : CSS Vertical List Menu - 3 Levels



inko9nito
07-25-2007, 08:24 AM
What needs to be modified in the JS file in CSS Vertical List Menu (http://javascriptkit.com/script/script2/verticalmenu.shtml) to add another level of links? Right now if I add another list in the second level, when I roll over it, it disappears.

zro@rtv
07-26-2007, 02:38 AM
have you tried to implement this with css, rather than rely on JS for navigation?
http://www.cssplay.co.uk/menus/
http://www.cssplay.co.uk/menus/flyoutt.html

inko9nito
07-26-2007, 02:58 AM
have you tried to implement this with css, rather than rely on JS for navigation?
http://www.cssplay.co.uk/menus/
http://www.cssplay.co.uk/menus/flyoutt.html

Wow I didn't know you could do that without JS! Thanks, I'll give it a try!

guvenck
07-26-2007, 01:24 PM
You will probably need some JS so it can work with Internet Explorer.

zro@rtv
07-27-2007, 01:21 AM
it depends on a few things if you need JS for IE.
I believe that example I linked doesn't... although theres lots of conditional comments for IE, and I believe they create the table in a menu if its IE, basically.

At any rate, whichever direction you go, make sure your navigation does not RELY on JS... that's no good at all. It should degrade to something equally useful if JS is turned off.

inko9nito
07-27-2007, 09:15 AM
it depends on a few things if you need JS for IE.
I believe that example I linked doesn't... although theres lots of conditional comments for IE, and I believe they create the table in a menu if its IE, basically.

At any rate, whichever direction you go, make sure your navigation does not RELY on JS... that's no good at all. It should degrade to something equally useful if JS is turned off.

Yea, I already implemented it and it works beautifully. The only problem with IE is that it loads it a bit slower (because I'm using background images rather than background color), but not too bad. Thank you so much for linking to that example! :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum