开发者

IFrame and Flash Ad Z-Index Issue

To preface, I have looked at previous questions and searched google extensively for an answer to this question and apologiz开发者_运维问答e if it has been answered once before and I failed to find it.

My problem is that I have advertisements on my website that load some flash content on TOP of any modal, etc that might popup. It does not matter the z-index of the modal.

These advertisements are wrapped in an <iframe>. Inside the Iframe are <script> tags that load a js file that loads the advertisement.

The source of the <iframe> is cross-domain thus disabling the ability to alter the object parameters that might be loaded to add a wmode parameter.

Does anyone know of a solution?


My best guess is the old iframe hack:

make an iframe and place it on top of the other iframe (z-index). Anything you want above the flash goes on top of this new iframe. The new iframe just has a background of white and is sized to perfectly match your popup/modal/etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜