Ina Code Blog

bunch of code in one place
« Find what you need
Stick post in Wordpress »


Oct
18

Lightbox/ThickBox/GreyBox under Flash object

Posted by admin in tips

Are you using LightBox and Flash object on your site? The problem appears when you open LightBox and your Flash object appears above the pop up.
There is a simple solution to your problem!

Place the following code in your object parameters:

<param name=”wmode” value=”transparent”></param>

Also add this code to <embed> tag:

wmode=”transparent”

That’s it! Flash should now be hidden under LightBox with the rest of the page.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

3 Responses to “Lightbox/ThickBox/GreyBox under Flash object”

  1. Added by Eric on Nov at 29

    You da MAN! Thanks.

  2. Added by Jasper on Jul at 10

    I found your solution. But what file do I need to edit? I am using the Wordpress flv embed plugin to add .flv movies in my posts. The plugin JW Flash player (flvplayer.swf).
    FLV embed use JW’s .swf player and two PHP files(flv-embed.php and flv-sitemap.php) and a swfobject.js….

  3. Added by admin on Jul at 11

    Hi Jasper,
    huh, I never tried this plugin, but I would try to to modify the swfobject.js file.

    I inserted the code above in this swfobject.js file. Here is the link to it and just try overwritting your file with it. Backup the old file, since I haven’t tested the plugin!

    I hope that solved your problem. If not, let me know and I’ll take the time to test the plugin myself and try to find the right solution.

    bby

Leave a Reply

Comment