Feedback Form
  Page loading ..
 
WebTips - Discover, Share, Ask

Free Online Tips Blog

 
 

Javascript webpage preloader

[ - ]  [ x ]
Contributed by: alexb on September 15, 2006  |  Comment
javascript preloader for webpages

While surfing the internet we often notice webpages taking quite a while to load. The time in many cases exceeds what you might have anticipated or what you might have wished to be. Say for example the header image gets loaded, then comes the left menu, body, adverts, external widgets and so on. This happens not only for the big sites but also for small sites, weblogs too.

The reasons in almost all cases are the usage of too many advertisements, external widgets, external content, heavy images, maps, etc. and these are pretty common these days. Lets do something (very simple yet useful) for this problem. Lets design a Java Script preloader for these webpages which will terminate once the loading of the webpage is complete (100%) ! This preloader can be used for the whole website or for a particular webpage.

NOTE: We have implemented the preloader in our site too and you may see it in action in the top right-hand corner of every page.






Submit Comments >>


Are you a human being? Lets see .. Please type out these numbers.

Problem posting comments? Please mail your comments at mail.webtips@gmail.com

Send Trackback (what is it?) »
http://webtips.blogsome.com/2006/09/15/javascript-webpage-preloader/trackback/


4 Comments so far

September 16, 2006
Stan

This is a pretty useful tip. I will try to develop it further. Anyway….. thanks.

September 16, 2006
Angella

Thanks for sharing the tip. Yeah the coding is pretty simple enough and I didnt find any errors so far. Do you have a problem with your adwords? I saw a blank header. I use ie6. See ya.

October 16, 2006
Ramnath

Hi Angella,

Thanks for noticing the error. I think there was a problem. The adwords have been removed and I think there is no problem.

Keep visiting!

December 3, 2006
Trackback

Blogging Tip: Stop visitors from leaving your blog early

Every blogger love to see traffic pouring in to their respective blogs. But the main stats that matter the most are the total number of pages they are browsing and total time spent in your blog. Just a couple of days back I was watching the statist…

July 23, 2008
You! Post your Comment ..

Recent Contributions

Facebook Application Review: iThink

And The Winner is ..

Clear the Blogsome server cache in one click

Peace ho .. Jonathan Harris speaks

Are you a wilfer?

More.. Page 2 | Page 3 | Page 4 | Page 5



^Back to top^

We follow creative commons 2.5 Prior permission should be taken from the admin before reproducing any part of this site.

Template by Ramnath || Free blogs at Blogsome

powered by WordPress 1.5.1-alpha