In order to check to see if a .js is loaded, can't you just set a global variable in it's script. For instance A.js could have a variable called AisLoaded. You could do a check on AisLoaded with a typeOf. If it is undefined, then obviously it is not loaded, if it is defined, then you might want to check to see if the value is true. If it is false, it may be in the process of loading libraries it needs, so don't load it, but maybe you want to setup some sort of event raising and capturing to trigger when it is finished loading, so you know not to proceed until it is finished. I imagine setting up an event may pose some complexity, and I haven't worked it all through in my head yet, so let the rocks fly. Later, Chris _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev
RE: [Dynapi-Dev] Order of execution of .js files
Strolia-Davis Christopher Contr MSG MAM Thu, 24 May 2001 05:57:44 -0700
- [Dynapi-Dev] Order of execution of... Daniel LaLiberte
- Re: [Dynapi-Dev] Order of exe... Michael Pemberton
- Re: [Dynapi-Dev] Order of exe... Joachim Lundgren
- Re: [Dynapi-Dev] Order of... Michael Pemberton
- Re: [Dynapi-Dev] Order of exe... Daniel LaLiberte
- Re: [Dynapi-Dev] Order of... Michael Pemberton
- Re: [Dynapi-Dev] Order of exe... Strolia-Davis Christopher Contr MSG MAM
- Re: [Dynapi-Dev] Order of exe... Joachim Lundgren
- Re: [Dynapi-Dev] Order of exe... Michael Pemberton
- Re: [Dynapi-Dev] Order of exe... Joachim Lundgren
- RE: [Dynapi-Dev] Order of... Digital Strider
- Re: [Dynapi-Dev] Order of exe... Michael Pemberton
- Re: [Dynapi-Dev] Order of... Joachim Lundgren
