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
    Jul 2010
    Location
    Southern California
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Overlaping Javascript Elements Help

    Hey All,
    So im am putting together a website where i will have two javascript elements close together a simple drop-down navigation bar and an image viewer.
    The only problem is that when the drop down menu appears it is cut off by the image viewer and doesnt display in front of it.
    Does anyone know a line of code or solution to this?
    here are the urls for reference

    where overlapping isnt a problem:
    http://www.spectracompany.com/Template/TemplateAlt.html

    where the menu is cut off:
    http://www.spectracompany.com/Projec...n-Center1.html

    Thanks for helping!!!

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,529
    Thanks
    3
    Thanked 511 Times in 498 Posts
    the z-Index of the menu needs to be greater than the photo but as both a nested in a the same table element this will still be in effective.

    Do not use tables or a least use two tables with the first having a greater z-Index than the second(position:relative will also be required)
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/


  •  

    Posting Permissions

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