[SWFObject] swfObject script within target div?
Micky Hulse
micky at ambiguism.com
Fri Nov 17 15:30:40 PST 2006
Geoff Stearns wrote:
> it may work in some browsers, but it's not a very good idea...
>
> swfobject replaces the content in the target div, so in a sense, it
> would be replacing the script call that inserts itself.. so maybe if
> you had some code after the .write() call, that might not be executed.
>
> not to mention strange results if the page is loading slow - you
> would basically be trying to replace the html content of the div
> before the div is loaded, which is bad.
Ahhh, good to know. :)
Many thanks for the tips... I will move it out of the target div. I had
a feeling it was not a standard practice.
Many thanks for the response,
Cheers,
Micky
--
Wishlist: <http://snipurl.com/vrs9>
Switch: <http://browsehappy.com/>
BCC?: <http://snipurl.com/w6f8>
My: <http://del.icio.us/mhulse>
More information about the Swfobject
mailing list