Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2007
    Location
    Ontario
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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?

  • #2
    Regular Coder ninnypants's Avatar
    Join Date
    Apr 2008
    Location
    Utah
    Posts
    504
    Thanks
    10
    Thanked 47 Times in 47 Posts
    just give them a higher z-index value


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •