...

View Full Version : Center Pop Up box help



robbiez
07-24-2010, 04:11 PM
Hi
I am trying to use this script:
http://www.jtricks.com/javascript/window/box_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 (http://www.ezeframe.co.uk/cms-display/test.html/)

ANy tips would be appreciated.

Thanks

SB65
07-24-2010, 05:36 PM
You might try replacing:



boxdiv.style.zindex = '10';

with


boxdiv.style.zIndex = '10';

robbiez
07-24-2010, 05:59 PM
Schoolbuy error!
Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum