[thelist] Problems with late arrivals of JS SRCs

Peter Small peter at genps.demon.co.uk
Wed Jan 9 06:25:08 CST 2002


Do you know whether the onLoad waits for SRCs called in other SRCs?

If not:

Is there any way I could make sure all SRCs have arrived before activating
any script and displaying the page in the browser? Sort of checking them in
as they arrive and activating the whole script only after every SRC has
checked in?

peter
http://www.avatarnets.com



>>If the browser does activate a script before all the SRC components have
>>arrived, what is the best way to check arrivals of SRC scripts and make
>>sure the complete script isn't activated until they have all arrived?
>
>I'd run the first script onLoad. As far as I know this fires only after all
>the scripts have been loaded. I always use it in this sort of situation and
>it has never yet let me down.
>
>ppk
>






More information about the thelist mailing list