At 00:45 12/06/2001, you wrote:
>Images have an onload event built in that can be triggered as each is
>loaded, js files do not.

Yes, but you can circumvent that by testing the existence of a variable 
declared only at the end of each js file

example place

var foo_loaded = true;

at the end of the foo.js file and test the existence of the foo_loaded 
variable in a setTimeout or setInterval.

Maybe less cumbersome ways exist hoewevr, have you checked Richard's site 
for examples ?
As far as I remeber, on the DocCenter @ DynAPI homepage, Pascal wrote a 
tutorial about such things. Maybe it's not exactly what you want, but maybe 
it is....

Marc



>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of jmp909
>Sent: Monday, June 11, 2001 3:23 PM
>To: [EMAIL PROTECTED]
>Subject: [Dynapi-Dev] dynapi preloader?
>
>
>i think i've asked this before but would it be possible to create a DynAPI
>preloader widget that showed a "progess" status of the .js files loaded.
>
>ie
>
>loading dynapi.gui.viewport.js
>loading dynapi.apo.labels.js
>
>or a graphic representation of progress?
>
>etc
>
>it'd be nice for my site users not to think the machine had stuck whilst it
>was loading...
>
>thanks
>joe


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to