tags:

views:

230

answers:

1

Hello,

I have an AD which is basically a flash file inside an IFRAME. Unfortunately, I cannot control the wmode of the flash file.

Is there any way in which I can place the div on top of the flash?

UPDATE: How does Wibiya (wibiya.com) do it then?

+2  A: 

Nope. Windowless objects are rendered on a different "plane" to windowed objects (such as ActiveX controls, in the case of IE). Microsoft's explanation obviously applies only to Internet Explorer, but other browsers appear to work in a similar way.

All windowed elements paint themselves on top of all windowless elements, despite the wishes of their container. However, windowed elements do follow the z-index attribute with respect to each other, just as windowless elements follow the z-index attribute with respect to each other.

All windowless elements are rendered on the same MSHTML plane, and windowed elements draw on a separate MSHTML plane. You can use z-index to manipulate elements on the same plane but not to mix and match with elements in different planes. You can rearrange the z-indexing of the elements on each plane, but the windowed plane always draws on the top of the windowless plane.

http://support.microsoft.com/kb/177378

This is actually a benefit to the advertising service - it prevents publishers from masking, covering and slightly altering their ads (for instance, putting an image in front of the ad to make it blend in with the site).

Andy E