Javascript – Downsides to Hiding Flash under Overlaying DIVs

cssdomflashjavascript

Does anyone know of any harm in hiding flash elements that collide with an overlaying DIV? By hiding I mean setting the css visibility to hidden.

I understand that it requires a DOM traversal to look for objects and embeds which causes some overhead, but are there any other reasons why people don't do this?

This is for sites that don't change their flash wmode to transparent.

Best Answer

For a long time, browsers on Linux could not layer Flash. The transparent wmode was not supported, so many Flash animations were enclosed in gray boxes. Any Flash in background layers would render on top of foreground content. This made many sites frustrating and unusable, particularly those with peelback ads and Flash backgrounds.

This was fixed in Ubuntu only recently, within the past 12 months.

Related Topic