dConstructing

Prevent Flash elements from upstaging popups

You may know this already, and you can find it in many places on the web, so I’m just putting it here for my reference.

I’ve got an HTML element that needs to sit on top of a flash element. The HTML element could be a dialog box, or a dropdown menu . . . whatever. The HTML element looks fine except that, for some reason, it keeps sitting behind the Flash element.

I’ve tried adjusting the z-index of a few different elements, but nothing seems to change.

Here’s what you do: Change the wmode of the Flash element...

Read in full