Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-25-2007, 07:24 AM   PM User | #1
inko9nito
New Coder

 
Join Date: Jul 2005
Location: TX
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
inko9nito is an unknown quantity at this point
Question CSS Vertical List Menu - 3 Levels

What needs to be modified in the JS file in CSS Vertical List Menu to add another level of links? Right now if I add another list in the second level, when I roll over it, it disappears.
__________________
Life is a game. The plot sucks but the graphics are awesome!
inko9nito is offline   Reply With Quote
Old 07-26-2007, 01:38 AM   PM User | #2
zro@rtv
Regular Coder

 
zro@rtv's Avatar
 
Join Date: Feb 2005
Location: on the network
Posts: 433
Thanks: 0
Thanked 1 Time in 1 Post
zro@rtv is an unknown quantity at this point
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
__________________
._-zro
zro@redtv
zro.redtv.org

"If HTML and the Web made all the online documents look like one huge book, RDF, schema, and inference languages will make all the data in the world look like one huge database"
-Tim Berners-Lee, Weaving the Web, 1999
zro@rtv is offline   Reply With Quote
Old 07-26-2007, 01:58 AM   PM User | #3
inko9nito
New Coder

 
Join Date: Jul 2005
Location: TX
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
inko9nito is an unknown quantity at this point
Quote:
Originally Posted by zro@rtv View Post
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!
__________________
Life is a game. The plot sucks but the graphics are awesome!
inko9nito is offline   Reply With Quote
Old 07-26-2007, 12:24 PM   PM User | #4
guvenck
Regular Coder

 
Join Date: Jan 2006
Posts: 377
Thanks: 8
Thanked 1 Time in 1 Post
guvenck is an unknown quantity at this point
You will probably need some JS so it can work with Internet Explorer.
guvenck is offline   Reply With Quote
Old 07-27-2007, 12:21 AM   PM User | #5
zro@rtv
Regular Coder

 
zro@rtv's Avatar
 
Join Date: Feb 2005
Location: on the network
Posts: 433
Thanks: 0
Thanked 1 Time in 1 Post
zro@rtv is an unknown quantity at this point
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.
__________________
._-zro
zro@redtv
zro.redtv.org

"If HTML and the Web made all the online documents look like one huge book, RDF, schema, and inference languages will make all the data in the world look like one huge database"
-Tim Berners-Lee, Weaving the Web, 1999
zro@rtv is offline   Reply With Quote
Old 07-27-2007, 08:15 AM   PM User | #6
inko9nito
New Coder

 
Join Date: Jul 2005
Location: TX
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
inko9nito is an unknown quantity at this point
Quote:
Originally Posted by zro@rtv View Post
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!
__________________
Life is a game. The plot sucks but the graphics are awesome!

Last edited by inko9nito; 07-27-2007 at 08:20 AM..
inko9nito is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:58 AM.


Advertisement
Log in to turn off these ads.