June 5th, 2009 | Joel | Comments#comments">Comments
logo.png
Facebox is a modal window plugin for jQuery. It’s fantastic, so give it a go.
The problem

I just had an issue with Flash appearing above a Facebox window in one of the projects I’ve been working on. Thought it may be useful to post the solution I found, since it wasn’t an instant find for me.

The solution
When you embed flash on a page, you’ll almost always have an <object> element and an <embed> element.
What you need to do is add <param name=”wmode” value=”transparent”></param> as a child element to the <object> element, and add wmode=”transparent” as an attribute to the <embed> element.
That’s it, fixed it nicely for me :) Happy coding!

blog comments powered by Disqus