Skip to main content
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: RC Maples
Ben Nadel at InVision In Real Life (IRL) 2019 (Phoenix, AZ) with: RC Maples ( @rcmaples )

ValidCharacter

Member since Nov 8, 2011

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 »