Sagewire Logo

Progress bar

2 Message(s) by 2 Author(s) originally posted in javascript


From: Simon Date:   Thursday, July 05, 2007
I'd 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 do not 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 have 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 trigger ed.

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

Any ideas?

Thanks,
Simon


From: VooDoo Date:   Friday, July 20, 2007
try with flash...
"Simon" <simon1978@xxxxxxxxxxx> a écrit dans le message de
468cb24b$0$25486$ba620dc5@xxxxxxxxxxx
I'd 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 do not 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 have 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 not find a way to trigger an onbeforeload-event. (For the script that
displays Please wait)
Any ideas?
Thanks,
Simon


>



Next Message: Looping through HTML Table



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional