loader.js 207 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
var Loader = { 
  img_src: "/assets/ajax-loader.gif", 

  html: 
    function(width) { 
      img = $("<img>");
      img.attr("width", width);
      img.attr("src", this.img_src);
      return img;
    }
}