PHP Classes

Loading Div: Display an animation while a page is loading

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 2,770 All time: 1,367 This week: 88Up
Version License PHP version Categories
loading-div 1.0.0GNU General Publi...4.0HTML
Description 

Author

This class can be used to display an animation while a page is loading.

It generates HTML and Javascript to be outputted in the beginning of a page that makes an animated GIF image appear over the page while it is loading.

The animated image disappears when the pages finishes loading.

Innovation Award
PHP Programming Innovation award nominee
November 2009
Number 4


Prize: One downloadable copy of Komodo IDE
Some pages take a while to load because they have several elements that need to be retrieved remotely before they can be displayed.

The user needs to be patient while the page is loading. In this situation it is better to give some feedback during the load of the page.

This class provides a simple but effective solution to give some feedback to the user while a page is loading.

Manuel Lemos
Picture of Gianluca Zanferrari
  Performance   Level  
Name: Gianluca Zanferrari <contact>
Classes: 19 packages by
Country: The Netherlands The Netherlands
Age: 57
All time rank: 1674 in The Netherlands The Netherlands
Week rank: 314 Down9 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 5x

Screenshots  
  • loadingDiv
  Files folder image Files  
File Role Description
Plain text file class.loading.div.php Class Main class
Accessible without login Plain text file example.php Example Example file
Accessible without login Image file loading.gif Data animated gif

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,770
This week:0
All time:1,367
This week:88Up
User Ratings User Comments (3)
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:69%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2519
 
I loved it :p
14 years ago (Tim)
70%StarStarStarStar
Really usefull script very small
14 years ago (guillermo garcia)
70%StarStarStarStar
Oh shit! This site is for PHP Classes.
14 years ago (Thieres Tembra)
0%Star