[jQuery] How to use bgiframe 2.1.1 on all Windows browsers
We have a situation where we are using JQuery UI dialogs and on windows if one of these dialog boxes appears in front of Flash content then the Flash content will shine through. Obviously the known fix for this is to use an iframe layer between, which is what I thought the bgiframe option would do, but looking into it further I see that it was designed for the form field shine-through problem in IE6. So I removed the check for IE6 and changed it to check for just windows, but that causes the following error in Firefox: String contains an invalid character code: 5 [Break on this error] this.insertBefore( document.createElement(html), this.firstChild ); I've tried taking the iframe string apart, but anything other than a basic 'iframe' seems to throw this error. I've also tried something like the following: el = $('iframe class=bgiframeframeborder=0tabindex=-1src='+s.src+'' ); this.insertBefore( el, this.firstChild ); But with that I get: Node cannot be inserted at the specified point in the hierarchy code: 3 [Break on this error] this.insertBefore( el, this.firstChild ); Does anyone have any ideas on how to get this working for any Windows browser?
[jQuery] Re: How to use bgiframe 2.1.1 on all Windows browsers
I got the bgiframe script working in FF windows, but that doesn't fix the flash content shine through, neither did applying wmode=transparent to the embed/object tag of the flash. On Mar 2, 12:42 pm, Wichert Akkerman wich...@wiggy.net wrote: Previously Liam Potter wrote: Obviously the known fix for this is to use an iframe layer between no this is wrong, the fix for this is adding the wmode setting on the flash to transparent. And you will still loose with select elements, which ignore z-index in IE. An iframe really is the best option. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things.http://www.wiggy.net/ It is hard to make things simple.
[jQuery] Re: How to use bgiframe 2.1.1 on all Windows browsers
I got the bgiframe script working in FF windows, but that doesn't fix the flash content shine through, neither did applying wmode=transparent to the embed/object tag of the flash. On Mar 2, 12:42 pm, Wichert Akkerman wich...@wiggy.net wrote: Previously Liam Potter wrote: Obviously the known fix for this is to use an iframe layer between no this is wrong, the fix for this is adding the wmode setting on the flash to transparent. And you will still loose with select elements, which ignore z-index in IE. An iframe really is the best option. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things.http://www.wiggy.net/ It is hard to make things simple.
[jQuery] Re: How to use bgiframe 2.1.1 on all Windows browsers
I got the bgiframe script working in FF windows, but that doesn't fix the flash content shine through, neither did applying wmode=transparent to the embed/object tag of the flash. On Mar 2, 12:42 pm, Wichert Akkerman wich...@wiggy.net wrote: Previously Liam Potter wrote: Obviously the known fix for this is to use an iframe layer between no this is wrong, the fix for this is adding the wmode setting on the flash to transparent. And you will still loose with select elements, which ignore z-index in IE. An iframe really is the best option. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things.http://www.wiggy.net/ It is hard to make things simple.
[jQuery] $('.classname') returns NULL in IE
I have a document which is almost valid HTML (with the HTML 4 transitional doctype), the only warnings I'm currently getting are about ampersands in query strings. When I try $('.classname') in every browser I get the object expected, in IE 6 7 I get null, I've also tried $('#someId') and get the same issue (and document.getElementById('someId') works fine in IE). Am I going crazy or is there something I'm missing?