krio7
asked on
Lightbox causing flash on page to disappear
Hello,
I have a lightbox popup on my page, but when it comes up, the Flash on the page disappears. Is there a way to keep the Flash on the page, but also allow for the lightbox??
I've messed with the z-indexes, but I can't figure it out.
Click on What's a Wardrobe Stylist in the middle right of the page to see it.
The page is www.krio.me/erika
thanks!
I have a lightbox popup on my page, but when it comes up, the Flash on the page disappears. Is there a way to keep the Flash on the page, but also allow for the lightbox??
I've messed with the z-indexes, but I can't figure it out.
Click on What's a Wardrobe Stylist in the middle right of the page to see it.
The page is www.krio.me/erika
thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! it was only one line for the visibility hidden attribute that i changed and it works perfect!
in line
205: $$('select', 'object', 'embed').each(function(nod e){ node.style.visibility = 'hidden' });
remove that line thats the line which hides object and embed tags.
The only problem im having with this is that everything works the way it should except im not getting the dark overlay. Hope i pointed you in the right direction i know im a bit late though lol
205: $$('select', 'object', 'embed').each(function(nod
remove that line thats the line which hides object and embed tags.
The only problem im having with this is that everything works the way it should except im not getting the dark overlay. Hope i pointed you in the right direction i know im a bit late though lol
ok i figured out the problem with the transparency
in line 205 of lightbox.js theres a piece of code
$$(select, object, embed).each(function(nod e){ node.style.visibility = hidden });
this line block all embeds and object tags from being viewed while using lightbox.
in line 205 of lightbox.js theres a piece of code
$$(select, object, embed).each(function(nod
this line block all embeds and object tags from being viewed while using lightbox.
Depending on the way it is handled you can make this more gracefull, for instance by having a background-image behind the flash that will appear once the flash disappears, or sometimes by crafting some CSS that only hides flash that may actually appear through the overlay, but keeping anything that is well clear of the overlay active.
I don't know if lightbox using a css rule to hide the flash or whether it's hardcoded in javascript though...