I typically pick points in the code to incriment the bar.
For instance when rendering a tree, I will advance the bar every three loops
of the generating code.

You could place a peice of code at the beginning of each js file and set
the max of the progress bar to the number of files...
----- Original Message -----
From: "Bernard Squale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 1:21 AM
Subject: [Dynapi-Dev] Progress bar


> Hi everybody,
>
> I created a js library based on dynAPI. Its weight is 200 ko and I want to
> show a progress bar while this library is loading.
>
> No problem to draw the bar.
>
> But Is there a way to get information about the loading process and the
part
> of the file that has been downloaded.
> May be with an applet ?
>
> By the way: Has anybody informations about 2.9.1 ?
>
> Thanks
>
>
> _______________________________________________________________
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[email protected]/
>


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to