Log in

View Full Version : Facebox showing behind simplygallery



RossEwing
07-26-2009, 01:40 AM
1) Script Title: Facebox and

2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex4/facebox/index.htm
http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm

3) Describe problem:

i have the facebox script working, but when it loads up it shows behind the simply gallery therefore cannt see the box. Is there a way around this?

Regards

thetestingsite
07-26-2009, 01:52 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.

See these threads for proper posting format when asking a question.
http://www.dynamicdrive.com/forums/showthread.php?t=6
http://www.dynamicdrive.com/forums/showthread.php?t=19533


Without looking at the page, the only thing I can suggest is checking the z-index on the gallery script and make sure it is lower than that of the facebox script.

Hope this helps.

After looking at the two scripts, it appears the slideshow has a zindex of 1000 and facebox only has 100. To fix this, find in thickbox.css the following



#facebox {
position: absolute;
width: 100%;
top: 0;
left: 0;
z-index: 100;
text-align: left;
}

and change 100 to 10000.

RossEwing
07-26-2009, 05:07 PM
Yup worked perfectly, thank you.