Expedia uses the IE specific document.readyState and a timer calling the
function (Javascript).

Both the initial search criteria and the "Please wait" section are on the
same page. When you begin the search it hides the one part and displays the
"Please wait" part. A timer is started and it periodically changes the image
(for the "status bar" look) and checks the document.readyState of the
loading page. When the document.readyState == 'completed' it switches over
to it. It's not technically a progress bar as much as a "Please wait" page,
the movement of the image is in no way tied into how far along the search
is.

HTML overall isn't well suited to the task, the basic premise of HTML stops
any server involvement once the page is sent. Java applets, Flash, or
anything else that can either maintain a persistant connection to the server
or change content without a page reload are much more suited; these of
course have their own drawbacks.

I can think of a few work arounds that are a bit more cross-browser
compliant but none of them are pretty.

-----Original Message-----
From: John Anderson [mailto:[EMAIL PROTECTED]]
Sent: January 31, 2001 18:00
To: CF-Talk
Subject: Progress bar


Has anyone here implemented a progress bar.

Similar to what happens on expedia when searching for travel information.

What is the key to this with a web based app?

Thanks,
John Anderson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to