The queries are AJAX querys?? Just add a function to show popup with gif before opening new request, and turn it off on ajax.onreadystatechange event when (ajax.readyState == 4). To make it more smooth you can add a little setTimeout when hiding your popup to check is new query was send to server.
Many useful informations here:
http://en.wikipedia.org/wi
Main Topics
Browse All Topics





by: TchukiPosted on 2008-04-06 at 20:22:47ID: 21294148
Personally I would go with something like a PHP progress bar as JavaScript may be switched off on the client machine for what ever reason (work place, educational establishment or they dont like JS).
m/2005/php -progress- bar/
http://www.silverspider.co
The above link is for a nice tutorial/description of how to use PHP and the GD library to manipulate images and create your loading bar effect.
This might not be exactly what you are looking for, but thought I would make the suggestion never the less.