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 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    74
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Center Pop Up box help

    Hi
    I am trying to use this script:
    http://www.jtricks.com/javascript/wi..._centered.html

    It works but part of the pop up box is hidden behind a div on the original page. The div on the original page has a z index of 2. I have tried adding a z index in the script for the pop up box but it doesn't work.

    Test page:
    Click on the "Measurements in Inches?? CLICK HERE" in the first Grey box
    Picture Frame Test Page

    ANy tips would be appreciated.

    Thanks

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 726 Times in 720 Posts
    You might try replacing:


    Code:
    boxdiv.style.zindex = '10';
    with

    Code:
    boxdiv.style.zIndex = '10';

  • Users who have thanked SB65 for this post:

    robbiez (07-24-2010)

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    74
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Schoolbuy error!
    Thanks


  •  

    Posting Permissions

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