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 01-03-2009, 12:40 AM   PM User | #1
limniad
New to the CF scene

 
Join Date: Aug 2007
Location: Ontario
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
limniad is an unknown quantity at this point
Question javascript in front of css dropdown nav

I have two different scripts used on a site, jscroll pane and this gallery: http://flowplayer.org/tools/scrollable.html (they are on different pages of the site, it is for a picky client).

My drop down navs are the regular css:

Code:
#headernav .navtop li ul { 
display: none; 
position: absolute; 
list-style: none; 	
margin: 0 0 0 -1px; 
padding: 0 0 20px 0; 
width: 208px; 
}

#headernav .navtop li:hover ul, 
#headernav .navtop li.hover ul { 
display: block; 
}

#headernav .navtop li:hover ul.redraw, 
#headernav .navtop li.hover ul.redraw { 
border-bottom: 1px hidden transparent; 
}
Any ideas on how to make the drop down navs appear on top of the javascript content?
limniad is offline   Reply With Quote
Old 01-03-2009, 01:18 AM   PM User | #2
ninnypants
Regular Coder

 
ninnypants's Avatar
 
Join Date: Apr 2008
Location: Utah
Posts: 504
Thanks: 10
Thanked 47 Times in 47 Posts
ninnypants is an unknown quantity at this point
just give them a higher z-index value
ninnypants is offline   Reply With Quote
Reply

Bookmarks

Tags
css, dropdown, hover, javascript, nav

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 05:52 PM.


Advertisement
Log in to turn off these ads.