Return to Snippet

Revision: 56199
at March 15, 2012 14:34 by focal55

Initial Code
$(function () {
var img = new Image();
  $(img).load(function () {
  }).error(function () {
  // notify the user that the image could not be loaded
}).attr('src', '');

Initial URL

Initial Description
Thank you marcg for posting this on Snipplr

Initial Title
Show Preloader while loading Images with JQuery

Initial Tags

Initial Language