homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Issue: Flash shows through modal popup

Msg#: 4250876 posted 2:52 am on Jan 9, 2011 (gmt 0)

I wondered if anyone knows of a simple workaround to stop Flash content showing through the semi-opaque layer of a modal popup. z-index manipulation is not working.



WebmasterWorld Senior Member 10+ Year Member

Msg#: 4250876 posted 3:23 am on Jan 9, 2011 (gmt 0)

My (limited) understanding is that the Flash plug-in for browsers works outside of the browser's page rendering engine, so settings like z-index don't affect it. It's like PC games that write directly to the screen, rather than through the operating system API or drivers. In other words, there's no fix or workaround.


Msg#: 4250876 posted 3:31 am on Jan 9, 2011 (gmt 0)

Ouch - that's not what I wanted to hear. I know that I can modify the popup js to remove the flash item before it is activated but putting the flash back when the popup is closed is going to be more tricky. I'm sure it can be done though, I just hoped a simpler solution may be available.


WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4250876 posted 11:33 am on Jan 9, 2011 (gmt 0)

Have you tried fiddling with the transparency?

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

The above have fixed any Flash issues we were having in regards to stuff showing through or not displaying properly on top of Flash, etc. I could be way off but it was worth a shot.


Msg#: 4250876 posted 4:01 pm on Jan 9, 2011 (gmt 0)

Ok, I can see why this would not always work because of the transparency showing the background through parts of the flash content but for Flickr slideshows and YouTube vids underneath the popup, this seems to do the trick, they're not interfering with the popup opaque layer now. Thanks to you both.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved