
Snorky
|
| Posted: 02/17/2003, 11:23 PM |
|
Hello,
I have the following questing:
At a point I want to present a list depending on a very large search.
First I got a timeout from PHP, so I got the PHP to take longer before giving a timeout using : set_time_limit (300);
But now, there is allways a result, but it takes so long that the users are getting inpatients because they see no activity.
Is there a way to show that the page is being processed?
Some kind of progress indication, other then the page loading indicator from the browser?
Using CCS 1.0.7, PHP and MySQL.
Thx.
|
|
|
 |
RonB
|
| Posted: 02/18/2003, 4:53 AM |
|
hi,
add a piece of javascript that opens a popup when you click on search or the link from wich you go the the result grid in the head section:
function newWindow()
{
newWindow=window.open("processing.php","sub1","HEIGHT=310,WIDTH=400")
}
in the html search button code add something like onclick="newWinow();submit()"
The popup could show text(processing!!) or an animated gif of some kind.
now you all you have to do is make a function that checks if the newWindow is open and that will close it if it is when the parent is loaded.
Ron
|
|
|
 |
Snorky
|
| Posted: 02/18/2003, 5:34 PM |
|
Hi Ron,
This solution makes sence.
I am not realy good in Javascript.
Guess that I would have to activate this close activity window function
at events->server->before show or events->client->onload.
However, I have no idea how to do that.
Would appreciate if you have another hint 
Thx.
|
|
|
 |
|

|