PDA

View Full Version : problem with lightbox image viewer



Seema
03-24-2011, 03:48 AM
1) Script Title: lightbox image viewer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem: I'm trying to use lightbox image viewer v2.03a with examplemenu_var.js.
My problem when the larger image pops up, it stays behind my menus. Can someone please tell me how to fix this.

Thanks

azoomer
03-24-2011, 05:50 PM
It is usually a question of changing the z-index of the menu or the lightbox image, but it depends on what kind of menu you are using( if it's a flash based menu the fix would be different). Please provide a link to the page if you need more help.

Seema
03-24-2011, 08:51 PM
It is usually a question of changing the z-index of the menu or the lightbox image, but it depends on what kind of menu you are using( if it's a flash based menu the fix would be different). Please provide a link to the page if you need more help.

http://www.elsema.com/md2010.htm

azoomer
03-24-2011, 09:52 PM
Try increasing the z-index of the lightbox in this part of the css:


#lightbox {
left: 0;
line-height: 0;
position: absolute;
text-align: center;
width: 100%;
z-index: 200;
}
200 instead of 100 should do it

Seema
03-27-2011, 08:41 PM
Hellow,

Tried changing the Z-index to 200 but the problem is that it blocks the menu bar on top.

Seema
03-27-2011, 08:44 PM
Hellow,

Tried increasing the Z-index value but the problem is that it now blocks the menu bar on top.

Seema
03-31-2011, 07:10 AM
Hi,

I was able to do the lightbox image effect, all was well expect when the image pop ups the background of the page does not change.

Can u please tell me how to make the background colour change when the image pop ups.

This is the link to the page http://ww.elsema.com/md2010.htm

Thank u.