Jump to content

Overflow Swf Object In Html


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 post
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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...