Log in

View Full Version : [PHP] Loading Bar



Jordy
07-11-2007, 06:34 PM
Hey on this new PHP page I'm building, it does a lot of PHP includes from other sites so it takes around 15-20 seconds for the table to complete loading.

I need a loading bar so it shows it's progress loading and then shows the web page when it's completed loading, nothing complexed just telling you the progress. So it works pretty much like this one here (http://www.habborator.org/facts/version.php).

+rep if anyone manages it and I'll think about donating some money on paypal too (Not a vast amount, 20p a so possibly)

thanks,
Jordy

RichardKnox
07-11-2007, 06:44 PM
http://www.bram.us/projects/js_bramus/jsprogressbarhandler/

GoldenMerc
07-11-2007, 06:48 PM
http://www.bram.us/projects/js_bramus/jsprogressbarhandler/

Bram.us will be back soon ... stay tuned ;)
Oviously not working Richard xP

Mentor
07-11-2007, 07:02 PM
20p or so dosnt tempt me enough to actually do it, but all u need is a basic js based, one, then as the page loads, each time an include or whatever finishes loading below it echo a javascript call to the loadbar to increase it by however much.
That way it will show how much of the page is loaded :)

Want to hide these adverts? Register an account for free!