javascript – how to make flash in iframe appear under my popup window – Education Career Blog

if i would place flash in a usual way, i could use wmode transparent.

but I place flash on page with iframe (because it loads external files, with relative URLs, from another server)

Also on a page I have JS popup window. But when opened, it’s under flash in iframe. I need above.


Are you sure?

I just tried this:

<iframe src="" border="0" height="300"></iframe>

<div style="width:50px;height:50px;background:red;position:absolute;top:150px;left:100px;z-index:2">
this is a test!

And the red “popup” appeared over the iframe and Flash (Firefox and IE)

The flash in the iframe has wmode set to transparent.

Leave a Comment