0

I did lot of google for the plugin but i am not getting. If you know any plugin please inform me. Thanks in advance..

Anand Jaju
  • 458
  • 3
  • 12
  • 28
  • You want a loading image? Is that what you mean? – Brigand Mar 22 '13 at 05:55
  • @FakeRainBrigand: when my page gets loaded before that loader image should be displayed and when page gets loaded completely the loader image should vanish. This is my requirement – Anand Jaju Mar 22 '13 at 05:58
  • i don't sure of catching right what you mean, anyway, look at this plugin. I guess your mean something like it. https://github.com/tuupola/jquery_lazyload – Boris Zagoruiko Mar 22 '13 at 06:01
  • this link might help you: http://stackoverflow.com/questions/1964839/jquery-please-wait-loading-animation – Ashwini Verma Mar 22 '13 at 06:12

3 Answers3

2

Its is called pagepreloader.

Plugin

Example

Dipesh Parmar
  • 27,090
  • 8
  • 61
  • 90
0

I think it would be easier to use sprites or base64 encoded images (alternative solution)

karaxuna
  • 26,752
  • 13
  • 82
  • 117
0

you dont need any plugin for this try this simply.. image tag must be next to body tag

<body>
<div id="loading"><img src="img/ajax-loader.gif"></div>
 .
 .
 .

</body>

and place this with in script tag

$(window).load(function(){
$("#loading").hide(); 
});

the css for loading div

#loading {
    background-color: white;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
Dineshkumar
  • 351
  • 1
  • 8