|
|
 |
RE: FN-FORUM: Creating a "Please wait..." page
date posted 1st August 2006 13:11
Hi Duncan,
I did this using ASP, my results page outputs an image with an id of
'loadingimg' then I use Response.Flush() to display it, then the script goes
on to run my search query, then after the query has executed I use the
following javascript to remove the image:
Hope this helps,
// Craig
Craig Mankelow
[EMAIL REMOVED]
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of D D
Glendinning
Sent: 01 August 2006 13:03
To: FN-FORUM / [EMAIL REMOVED]
Subject: FN-FORUM: Creating a "Please wait..." page
Morning all!
Right, I am building an expedia type website, where you can build a
holiday by selecting dates, num passengers, etc.. and then clicking
proceed. The next page then carries out searches to find available
flights, and the page after that does the same for available hotels.
The problem is that these pages take a while to load as there are some
quite hefty MySQL queries being done mid-page....
I am wondering if there is a way of putting a small
popup/alertbox/window saying please wait while we search the system
type thing, which detects when the page is fully loaded and then
disappears?
Many thanks!
Duncan Glendinning
--
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|