White screen of death jquery load() html file with swf
I've looked high and low for an answer to this and I'm hoping someone has an answer, or at least a tip on how to avoid it.
I'm loading a static HTML file into a container via the jQuery load() method. This static HTML file has a script which loads a swf. When I load that particular file, I get the white screen of death (WSOD) and the page explodes and everyone in the room dies a horrible death.
I've had this happen also when using the jQuery wrap methods (wrap, wrapOuter, etc.开发者_开发百科) when a swf is present.
It seems manipulating the DOM with a container that has a swf object causes this. Does anyone have a solution or a way that I can prevent it happening?
Thanks!
The only time I get white screen of death is because there is a JavaScript crash and the SWF never gets loaded.
Install HTTPFox for FireFox and see if the SWF is being loaded at all.
Most common bug for this would be a missing closing
}
This causes the browser not render the HTML
精彩评论