Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
03-15-2009, 10:31 AM #1
Show loader image while page database works
I think this is the right place to post this. The page I'm using is serverside but the result I need is client side.
I have a really big database, and a certain page that does an intense query on said database.
The page is generated by php (by just inserting html table rows to the page in a while loop to display results from the database).
The problem is that the page takes a while to load while the processing is being done.
So when the page is accessed, the page loading must be shown, and then body onload="make it dissapear"
I was thinking of using a moodal box or something along the lines so i can easily code the alert that I want floating on top of the page.
I guess the question i should ask is, how do I call a js script when the page is accessed and another call when the page loads?-DR.Wong
Wheres the food at?
03-15-2009, 11:08 AM #2
- Join Date
- Jun 2002
- London, England
- Thanked 2,542 Times in 2,520 Posts
See also http://www.codingforums.com/showthread.php?t=42193
Sign in launderette:-
AUTOMATIC WASHING MACHINES: PLEASE REMOVE ALL YOUR CLOTHES WHEN THE LIGHT GOES OUT