Jump to content


This topic is now archived and is closed to further replies.


Preloader problem

Recommended Posts


I have quite a simple problem whereby one of my pages does quite a large database pull. It takes about 20-30 secs depending on the server.

Instead of having an empty page I am hoping to replace with a simple preloader.

However all I have only found an image based or .swf based preloaders.

Does anybody have a script where I can display somewhile the page is loading from the database.


Share this post

Link to post
Share on other sites
The best way to handle this would be to use AJAX to fill the spot on your page. While you're waiting for the operation to complete, you can fill the space with some kind of animated gif.

If you're unsure of how to apply AJAX, I suggest you check out our sister freaks site: [a href=\"http://www.ajaxfreaks.com\" target=\"_blank\"]http://www.ajaxfreaks.com[/a]

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.