tinfanide Posted October 21, 2011 Share Posted October 21, 2011 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 More sharing options...
Ingolme Posted October 21, 2011 Share Posted October 21, 2011 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 More sharing options...
tinfanide Posted October 21, 2011 Author Share Posted October 21, 2011 yesthat's marvellous!Thank you very much. Link to comment Share on other sites More sharing options...
tinfanide Posted October 28, 2011 Author Share Posted October 28, 2011 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 More sharing options...
Ingolme Posted October 28, 2011 Share Posted October 28, 2011 Most likely it just can't be done. Link to comment Share on other sites More sharing options...
tinfanide Posted October 28, 2011 Author Share Posted October 28, 2011 So ya meant it's not possible to make it in IE8+? Even then I've found there's the same case in FF5. Link to comment Share on other sites More sharing options...
Ingolme Posted October 28, 2011 Share Posted October 28, 2011 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.