Hi,
A solution could be to preload, in a layer or iframe[ie], the JS
files one by one. Using an HTML page that embed them dynamically.
With the onload event then it would be possible to manage the
progress bar.
I have done such a thing in http://www.axtom.com which uses code
based on dynapi (version 1). It's not packaged to be reusable but
maybe it can be usefull for someone.
The site is tested under MacOS+Win --> ie5+ns4.7
jp
>Since the loading of JS files is handled by the browser, there is little you
>can do without a great deal of checks and openning and closing <script> tags.
>
>My AfroAPI has such a feature. Because I control the loading of code using
>java, it is possible to make such a setup.
>
>Check out http://www.onetest.com.au/home/ (not mine, but it uses the afroapi).
>You can see that the statusbar displays the current file being downloaded.
>
>jmp909 wrote:
>
>> 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
>
>--
>Michael Pemberton
>[EMAIL PROTECTED]
>ICQ: 12107010
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev