HighDots Forums  

Progress bar

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Progress bar in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Simon
 
Posts: n/a

Default Progress bar - 07-05-2007 , 03:56 AM






I would like to know if there is a way to display a progressbar while
loading a page.
(We developped our application in Caché (intersystems), some functions need
some time to
calculate&display data, in the mean time I don't want users to stare at an
internet explorer in whitch nothing happens, i want them to see that
something is happening and even better, the status of loading.)

I saw on the internet that javascript won't work because it has no insight
to the bytes
received. (But ok, i can do without that information.)
I've tried to use an animated gif, (same gif you see when starting windows
for example), or just the text: "please wait...", but then the problem is
that although I can hide and show it through Javascript, it won't be shown
before the page is completely loaded. In a script i show the text: please
wait. In the body i use the onload-event to hide the text but that wont work
because the script won't be executed before the onload event is triggered.

I can't find a way to trigger an onbeforeload-event. (For the script that
displays Please wait)

Any ideas?

Thanks,
Simon



Reply With Quote
  #2  
Old   
VooDoo
 
Posts: n/a

Default Re: Progress bar - 07-20-2007 , 02:55 AM






try with flash...
"Simon" <simon1978 (AT) quicknet (DOT) nl> a écrit dans le message de news:
468cb24b$0$25486$ba620dc5 (AT) text (DOT) nova.planet.nl...
Quote:
I would like to know if there is a way to display a progressbar while
loading a page.
(We developped our application in Caché (intersystems), some functions
need some time to
calculate&display data, in the mean time I don't want users to stare at an
internet explorer in whitch nothing happens, i want them to see that
something is happening and even better, the status of loading.)

I saw on the internet that javascript won't work because it has no insight
to the bytes
received. (But ok, i can do without that information.)
I've tried to use an animated gif, (same gif you see when starting windows
for example), or just the text: "please wait...", but then the problem is
that although I can hide and show it through Javascript, it won't be shown
before the page is completely loaded. In a script i show the text: please
wait. In the body i use the onload-event to hide the text but that wont
work
because the script won't be executed before the onload event is triggered.

I can't find a way to trigger an onbeforeload-event. (For the script that
displays Please wait)

Any ideas?

Thanks,
Simon




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.