[ILUG] Re: [Webdev] Progress meters in PHP
Niall O Broin
niall at magicgoeshere.com
Wed Nov 21 10:47:18 GMT 2001
On Wed, Nov 21, 2001 at 10:08:52AM +0000, Donncha O Caoimh wrote:
> Have a hidden frame that updates a text box on the main page using
> Javascript. The hidden box updates every few seconds. No flicker too!
> And when the background process is finished, the hidden frame can update
> the whole main page.
Or even better, as Kate would prefer not to have frames, to have a real
progress bar and not a text box, is to have a row of say 60 images, each of
which is initially a transparent (or, say, black) X x X image. Then you
simply use image replacement to change 1 box per second to point to another
image, say an X x X red image. Details left to the reader, but you get the
drift. My solution is of course dreadful for lynx users :-(
This of course doesn't actually tell the user when each stage is done but
the object of the exercise is really to make users think that something is
happening so it should work for that.
Niall
More information about the ILUG
mailing list