Jump to content

Overflow Swf Object In Html


tinfanide
 Share

Recommended Posts

I have one swf object and one div in the HTML doc.I have set the div with z-index 9999 but the swf object still covers the div.But I've tested with another HTML element (e.g. div) which comes under the z-index 9999 div.How can I fix it?

Link to comment
Share on other sites

Plug-ins and iframes always are in front of the rest of the page. But I think if you set the wmode parameter to "transparent" it will let you put something in front of it.

<param name="wmode" value="transparent">

Link to comment
Share on other sites

But just then I've found that it doesn't work in IE8+.Found some solutions online but not working still

<param name="wmode" value="opaque" />

<param name="wmode" value="gpu" />

Both don't work.

Link to comment
Share on other sites

Before I found out that side effect the wmode parameter, I supposed that it was impossible altogether to get an element in front of a flash object. What a lot of places do is to set the "visibility" property of all <iframe> and <object> elements to "hidden" when a dropdown menu is open.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...