hello, I need to display a div that may overlap or float on top of a flash object and Im having some real problems with this. The floating div displays beneath the flash object. Its like the old problem with displaying an iframe over a select element.
I know one way is setting the flash object param to transparent, but I have no control over the flash object code. Its a floating div in an iframe and the src of the iframe might be any site out there. It needs to be done completely with js or css. or a combination of the two.
I really hope this is possible. The outlook I have found searching with google is very grim.
My idea is no guarantee, but I've seen this method in the past and it appeared to be done with only those two CSS rules. I never really dug through the JS though, so I could be missing a few tricks.
The solution is that the Flash wmode paramater must be set to either "opaque" or "transparent". The actual method of doing this would depend on how the SWF is embedded in your page (i.e., SWFObject-style JS injection, object tag, etc.). Screwing around with z-levels won't make any difference without this parameter being set correctly.