Re: [jQuery] Using JQuery to fix Flash z-index problem?
I think you need to add the parameter wmode:transparent to your embed/object tag. That will allow a div to go over the flash movie. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rolfsf Sent: Wednesday, January 17, 2007 11:20 AM To: discuss@jquery.com Subject: [jQuery] Using JQuery to fix Flash z-index problem? I'm using toggle to show/hide a div that partially overlaps a flash movie. Apparently, flash, being active content, will always rise to the top of the stacking order. Since I can see that my div will sit on top until the flash loops or updates, I'm wondering if there is a javascript or jquery method of keeping the div active and therefore on top? Or, has anyone found a reliable method for forcing flash back into the normal stacking order? -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.h tml#a8416980 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Using JQuery to fix Flash z-index problem?
Thanks Geoffrey - I tried that, as I had read it elsewhere, but it didn't work. Perhaps I've got a typo somewhere - I'll go back and look again. Geoffrey Knutzen wrote: I think you need to add the parameter wmode:transparent to your embed/object tag. That will allow a div to go over the flash movie. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rolfsf Sent: Wednesday, January 17, 2007 11:20 AM To: discuss@jquery.com Subject: [jQuery] Using JQuery to fix Flash z-index problem? I'm using toggle to show/hide a div that partially overlaps a flash movie. Apparently, flash, being active content, will always rise to the top of the stacking order. Since I can see that my div will sit on top until the flash loops or updates, I'm wondering if there is a javascript or jquery method of keeping the div active and therefore on top? Or, has anyone found a reliable method for forcing flash back into the normal stacking order? -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.h tml#a8416980 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.html#a8417488 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Using JQuery to fix Flash z-index problem?
I use SWFObject to insert Flash. in html I have: div class=flash title=path/file.swf style=width:100px;height:200pxIf you can see this, then you have not flash./div and javascript: $(div.flash).each(function(){ this.style.zIndex = 1; this.style.visibility = visible; var so = new SWFObject(this.title, this.id, this.style.width, this.style.height, 8, #ff); so.addParam(wmode, transparent); so.addParam(bgcolor, #FF); so.write(this.id); }); Really only you need set wmode param to transparent and set some bgcolor. That only works in Windows Flash plugin, the Linux version doesn't support wmode :( - Original Message - Subject: [jQuery] Using JQuery to fix Flash z-index problem? Date: Wed, 17 Jan 2007 11:19:59 -0800 (PST) From: rolfsf I'm using toggle to show/hide a div that partially overlaps a flash movie. Apparently, flash, being active content, will always rise to the top of the stacking order. Since I can see that my div will sit on top until the flash loops or updates, I'm wondering if there is a javascript or jquery method of keeping the div active and therefore on top? Or, has anyone found a reliable method for forcing flash back into the normal stacking order? -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.html#a8416980 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Saludos, José Francisco Rives Lirola jfrlATum.es Grupo de Apoyo a la Tele-Enseñanza http://www.um.es/atica/gat ext: 8277 Edificio ATICA Campus de Espinardo Universidad de Murcia 30100 Murcia-España -- Best Regards, José Francisco Rives Lirola sevir1ATgmail.com SeViR CW · Computer Design http://www.sevir.org Murcia - Spain ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Using JQuery to fix Flash z-index problem?
Thanks SeViR! I'll give it a try r. SeViR wrote: I use SWFObject to insert Flash. in html I have: div class=flash title=path/file.swf style=width:100px;height:200pxIf you can see this, then you have not flash./div and javascript: $(div.flash).each(function(){ this.style.zIndex = 1; this.style.visibility = visible; var so = new SWFObject(this.title, this.id, this.style.width, this.style.height, 8, #ff); so.addParam(wmode, transparent); so.addParam(bgcolor, #FF); so.write(this.id); }); Really only you need set wmode param to transparent and set some bgcolor. That only works in Windows Flash plugin, the Linux version doesn't support wmode :( - Original Message - Subject: [jQuery] Using JQuery to fix Flash z-index problem? Date: Wed, 17 Jan 2007 11:19:59 -0800 (PST) From: rolfsf I'm using toggle to show/hide a div that partially overlaps a flash movie. Apparently, flash, being active content, will always rise to the top of the stacking order. Since I can see that my div will sit on top until the flash loops or updates, I'm wondering if there is a javascript or jquery method of keeping the div active and therefore on top? Or, has anyone found a reliable method for forcing flash back into the normal stacking order? -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.html#a8416980 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Saludos, José Francisco Rives Lirola jfrlATum.es Grupo de Apoyo a la Tele-Enseñanza http://www.um.es/atica/gat ext: 8277 Edificio ATICA Campus de Espinardo Universidad de Murcia 30100 Murcia-España -- Best Regards, José Francisco Rives Lirola sevir1ATgmail.com SeViR CW · Computer Design http://www.sevir.org Murcia - Spain ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.html#a8417691 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Using JQuery to fix Flash z-index problem?
Note, this also works for safari on a mac -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rolfsf Sent: Wednesday, January 17, 2007 11:54 AM To: discuss@jquery.com Subject: Re: [jQuery] Using JQuery to fix Flash z-index problem? Thanks SeViR! I'll give it a try r. SeViR wrote: I use SWFObject to insert Flash. in html I have: div class=flash title=path/file.swf style=width:100px;height:200pxIf you can see this, then you have not flash./div and javascript: $(div.flash).each(function(){ this.style.zIndex = 1; this.style.visibility = visible; var so = new SWFObject(this.title, this.id, this.style.width, this.style.height, 8, #ff); so.addParam(wmode, transparent); so.addParam(bgcolor, #FF); so.write(this.id); }); Really only you need set wmode param to transparent and set some bgcolor. That only works in Windows Flash plugin, the Linux version doesn't support wmode :( - Original Message - Subject: [jQuery] Using JQuery to fix Flash z-index problem? Date: Wed, 17 Jan 2007 11:19:59 -0800 (PST) From: rolfsf I'm using toggle to show/hide a div that partially overlaps a flash movie. Apparently, flash, being active content, will always rise to the top of the stacking order. Since I can see that my div will sit on top until the flash loops or updates, I'm wondering if there is a javascript or jquery method of keeping the div active and therefore on top? Or, has anyone found a reliable method for forcing flash back into the normal stacking order? -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.h tml#a8416980 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Saludos, José Francisco Rives Lirola jfrlATum.es Grupo de Apoyo a la Tele-Enseñanza http://www.um.es/atica/gat ext: 8277 Edificio ATICA Campus de Espinardo Universidad de Murcia 30100 Murcia-España -- Best Regards, José Francisco Rives Lirola sevir1ATgmail.com SeViR CW · Computer Design http://www.sevir.org Murcia - Spain ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Using-JQuery-to-fix-Flash-z-index-problem--tf3029277.h tml#a8417691 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/