I made the following script to show a loader while a image is loading, my only question is how to implant this on multiple image's ?
working script: http://jsfiddle.net/4QhjD/
the jQuery part
$(window).ready(function(){
$("#image").load(function(){
$("#waiter").fadeOut(function(){
$("#image").fadeIn();
});
});
});
the html
<div id="content">
<div id="waiter"><img src="http://bradsknutson.com/wp-content/uploads/2013/04/page-loader.gif"></div>
<img src="http://responsiveslides.com/1.jpg?PREVENT_CACHE=6200" id="image"/>
</div>
.click()or.mouseup()function might be used. Read the manual, please