views:

109

answers:

2

Check out the link below, as you can see my overlay is hidden behind the flash element. However, the blue bar with the 'Continue' button appears above everything. Does anyone know what CSS changes I need to make so the overlay will appear above everything below it? The background loads an iframe. Thanks.

http://honr.it/s4j

I can't add wmode="transparent" to the embed tag, since I have no control over the page loaded in the iframe.

A: 

i think your link is broken or is it really to a yahoo video of 'associated press'?

isildur4
The link is not broken. You will notice my overlay appears below the flash video that is loaded in the iframe. That is what I am trying to fix.
edeems
+1  A: 

AFAIK you need to set the wmode of the Flash player to "transparent" in order for this to work. Along with that you need something like as your CSS:

#popup {
    position: relative;
    z-index: 1;
}

#flash-player {
    position: absolute;
    z-index: 0;
}

Basically, the z-index property needs to have value lower than the popup.

Mike
Please reread the original post. I am loading an iframe in the background, therefore I have no control over the embed tag or the css for that page.
edeems