PDA

View Full Version : LightBox and FlashElements



luisparada
27 Apr 2009, 3:47 PM
Hello, I'm using the lightbox script to implement a customizable image gallery with JSON and PHP, when I copy&paste the original code into my site, to test the script and evaluate it, I saw that the popup div gets below the flash media.
Can anyone tell me why is this happening ? Can anyone tell me how to fix this ?
NOTE: The code I'd test into my site is the original lightbox without any change and I using also the same original lightbox .css styles.

:D
Th4nks

bt_bruno
28 Apr 2009, 2:26 AM
Sorry, but what this has to do with Ext JS Framework? It's kind of "Ext JS Lightbox"? Probably you just have a css rules messing with the original lightbox structure.

luisparada
28 Apr 2009, 7:54 AM
Sorry, but what this has to do with Ext JS Framework? It's kind of "Ext JS Lightbox"? Probably you just have a css rules messing with the original lightbox structure.


Well, as you know, Lightbox is a customizable gallery created using EXTJS 3.0 Core, this is the link:
http://www.extjs.com/playpen/ext-core-latest/examples/lightbox/
I clean up all my css styles from the html and let only the lightbox styles, when I load the lightbox detail item gallery, aparently the z-index property doesn't work well, or something like that, because it gets bellow flash media elements,
Is it possible that some extjs elements could confict with flash media ?

bt_bruno
29 Apr 2009, 3:15 AM
Sorry about that. There are soo many implementations of "Lightbox" that I thought you were talking about the very first implementation, the one that doesn't have a thing with Ext JS.

BTW, YES there are some issues about flash elements and z-index on the net. I'll try to help you searching a solution for this and let you know.


EDITED: Maybe a solution Flash and the z-index problem, solved (http://slightlymore.co.uk/wisdom/flash-and-the-z-index-problem-solved)

fidget
29 Apr 2009, 5:27 AM
Sorry about that. There are soo many implementations of "Lightbox" that I thought you were talking about the very first implementation, the one that doesn't have a thing with Ext JS.

BTW, YES there are some issues about flash elements and z-index on the net. I'll try to help you searching a solution for this and let you know.


EDITED: Maybe a solution Flash and the z-index problem, solved (http://slightlymore.co.uk/wisdom/flash-and-the-z-index-problem-solved)

Yip that will do or ...

You can do it by placing

<param name="wmode" value="transparent">

in your flash area. You will also need to add

wmode="transparent"

to the "embed" area of your flash.

its the same thing :D

luisparada
30 Apr 2009, 5:06 PM
Thaaaaaaaaaaaaaannnnnnnnnkkkkkksssssssssssssssss a lot, everything is ok now.