ValidCharacter
Member since Nov 8, 2011
- Profile: /members/9216-validcharacter.htm
- Comments: 1
Recent Blog Comments By ValidCharacter
-
jQuery Attr() Function Doesn't Work With IMAGE.complete
Posted on Nov 8, 2011 at 4:53 PM
Work for images you need pre-loaded, before rendering a page, that are defined as background sources. c/o http://james.padolsey.com [code] $.fn.preload = function() { this.each(function() { $('<img/>')[0].src = this; }); }; $(['images/someimage.jpg','images/otherimage.png']).preloa... read more »