Ina Code Blog

bunch of code in one place
« Najdi kar rabiš
Prilepi post v Wordress-u »


Oct
18

Lightbox/ThickBox/GreyBox pod Flash objektom

Posted by admin in tips

Uporabljaš LightBox in Flash objekt na svoji strani? Problem se pojavi, ko odpreš LightBox, se Flash objekt prikaže nad odprtim oknom.
Obstaja enostavna rešitev za tvoj problem!

Dodaj spodnjo kodo v object parametre:

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

Dodaj cialis effectiveness še spodnjo kodo v <embed> oznako:

wmode=”transparent”

To Generic cilais whithout prescription je to! Flash se bi sedaj moral nahajati pod LightBox-om skupaj z ostalo stranjo.

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

21 Responses to “Lightbox/ThickBox/GreyBox pod Flash objektom”

  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

  4. Added by Debt Relief on Aug at 20

    Good Stuff….

    Wasn’t looking for this but amazing what you can find online….

  5. Added by Debt Reduction Guy on Aug at 26

    Nice site….

    Hey I wasn’t exactly looking for your site, but cool….

  6. Added by csótány on Dec at 14

    thx!

  7. Added by Cindi on Dec at 17

    Just what I needed! Thank you!

  8. Added by Vahap Demir on Dec at 19

    only_one_word = Great!

  9. Added by funky on Feb at 16

    doesn’t work for me. I use a mp3 flash player as an . when i edit the param and set the , nothing changes.
    thanks for help

  10. Added by Peter Safwat on Mar at 16

    don’t forget if u r embedding using dreamweaver to add this ‘high’,'wmode’ to the java script dreamweaver inserts in your page , Have Fun

  11. Added by rocrfella on May at 17

    where do i insert this code? do i insert it in the object parameter or the .js file? i entered the code into the video paramater but it didn’t work. so where do i insert this code?

  12. Added by Maad on May at 20

    Hi Guys,
    I’m struggling to get it to work with indexhibit. I’ve inserted the first part but I don’t understand where to insert the “wmode=?transparent? part?
    Where is the embed tag?

    thanks
    /Martin!

  13. Added by admin on May at 25

    You put the code in object tags, it should look like this:

    < object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="551" height="136" border="0">

    < param name="movie" value="file_name.swf" />
    < param name="quality" value="high" />
    < param name="wmode" value="transparent">

    < embed src="file_name.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="551" height="136" wmode="transparent">< /embed>< /object>

  14. Added by Serban on Jul at 2

    I had a problem with this solution, I did exactly what you asked but it didn’t work.
    The problem was that I copy/pasted the code from the site and I got these quotes: ” . I had to change from this ” to normal quotes “.

    It works now.

  15. Added by Zied on Jul at 11

    Great solution, exactly what i needed. Thanks so much

  16. Added by yenn on Jul at 12

    Anyone got it works in firefox browser? Is not working for me in firefox :(

  17. Added by Trevor on Jul at 23

    Great tip! For people using SWFObject, just add this line to the code:

    so.addParam(”wmode”, “transparent”);

    Hope that helps some people out.

  18. Added by Daniel on Aug at 1

    It’s great, but I still have this little problem: I’m using Milkbox, and when I insert the code, right, the flash object remains in the background, but for some reason, at the top of the page, it shows up a lot of crazy code like (// window.addEvent(’domready’,function(){ //autoplay example $(’autoPlayExample’).addEvent(’click’,function(e) and a lot more…. and it disapears when I get rid of the wmode = transparent tags…

    Could anyboy explain to me WHY??? I would realy appreciate your help.

  19. Added by Daniel on Aug at 1

    Never mind, thanx anyway, the problem was because of the Milkbox code, I was calling an XML file and I forgot to close one of the html tags.

  20. Added by Bozo on Aug at 24

    Thanks!!!
    U save mi lot of nerves. I whose very close to kick my computer:)

  21. Added by Jon on Oct at 26

    works - but you should make sure to use ” instead of ” in your code snippets.

    took me a few minutes to figure why it wasn’t working.

Leave a Reply

Comment