Apparently, it’s possible to use JavaScript to preload images.

checked = new Image();
checked.src = "/images/true.gif";
unchecked = new Image();
unchecked.src = "/images/false.gif";

This is better than doing the CSS trick display:none;, as this doesn’t always preload in every browser.

  RSS Feed for Comments on this Post