DIVS over flash movies in Internet Explorer
Asked Answered
A

4

8

The age old question... why the hell doesn't a div positioned over a flash object stay on top with z-index. I have found the answer in the past, but it's been so long, I can't seem to get it. My flash movie is in a div floating left:

<div id="flash">
<object width="614" height="289">
<param name="movie" value="images/75.swf">
<param name="wmode" value="transparent">
<embed src="images/75.swf" width="614" height="289" wmode"transparent">
</embed>
</object>
</div>

My css for the div that needs to be on top is:

.menu ul li:hover ul li a:hover {
background:#5a3f2d;
color:#FFF;
z-index: 9999;

I cannot get it to show above the flash movie in ie6 or ie8. I know this is old school but I'm frustrated! Does my nav div need to have an absolute position? Is that why it doesn't work?

Example is here. Hover over the first link on the right: "CUSTOMER SERVICE"

Thanks all :)

Antonioantonius answered 21/12, 2010 at 17:8 Comment(1)
The following worked for me: <param name="wmode" value="opaque" /> I found this solution at #761902Rumpf
F
8

Hope this will help you , please take a look on. http://manisheriar.com/blog/flash_objects_and_z_index

Foreshank answered 21/1, 2011 at 18:45 Comment(3)
Thanks! For the lazy: set the flash DIV wrapper to position:relative; and z-index:0; , then add the WMODE transparent param to the flash object and embed code.Altamira
for ie9 and ie10 is "wmode" -> transparent enoughFoskett
In my situation, <param name="wmode" value="transparent"></param> worked, and I didn't have to mess with z-indexes.Yielding
R
1

I used the following and it worked for me.

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

I found this solution at Why doesn't Z-Index in IE render the way it's supposed to over a Flash Movie?

Rumpf answered 19/11, 2013 at 15:42 Comment(0)
I
0

I've seen many of these questions around and forums, but to let this clear, both options should be added in order to avoid from some versions to stop working:

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

and

<embed wmode="opaque" src="...">

src: http://manisheriar.com/blog/flash_objects_and_z_index

Infracostal answered 15/6, 2016 at 17:36 Comment(0)
A
-1

It might help to give the parent container (the table) and/or sibling container (the other "td" tag) a z-index of 1

Arsenical answered 21/12, 2010 at 17:51 Comment(2)
Thanks girdus, I gave it a shot and still no change :(Antonioantonius
Tried this. Does not work. Read up on it online. It does not work. Need to force render as part of normal document flow. Can do with addParam on SWFObject, attribute goes to "opaque"Ooze

© 2022 - 2024 — McMap. All rights reserved.