Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Waiting screen

Status
Not open for further replies.

Mike2020

Programmer
Mar 18, 2002
55
US
Hi:

I created a waiting page that will display when use run a long search. Before the result return, I want this wait page display on the screen. However, this wait page didn't display during the search time.

It just go from search screen to result screen, w/o display the wait screen.

Do you folks know how to solve this problem.

Many thanks..

Mike
 
sorry to say, but the question is to general without seeing the code that's suppossed to generate the "wait" page


logo.gif width='75' height='15'
 
As decojute has mentioned, it would be a lot easier with code, but I will take a stab at reading your mind.

I am assuming that you are using a three tier application for this (some kind of scripting language). If so, I don't see how you can have a simple waiting page since the server spits out the page when it is done processing - which means the search is over.

One solution is to have a popup, or a new window, and name it(this will be your waiting page). When the search results page loads, have it close the popup or other window (via onload).

Does that help?
 
Mike2020,
Check out this thread: thread333-646525
 
Thank you folks, I get the solution.

Thanks
 
u could also add this script to a page adding an animated progress bar .gif and have the page redirect in whatever time you wish


<HEAD>

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>

redirTime = &quot;15000&quot;;
redirURL = &quot;your_page.asp&quot;;
function redirTimer() { self.setTimeout(&quot;self.location.href = redirURL;&quot;,redirTime); }
</script>


<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->

<BODY onLoad=&quot;redirTimer()&quot;>



the script right now redirects in 15 seconds


logo.gif width='75' height='15'

bath.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top