jquery preload images code example
Example: jquery preload images
//preloading Images with jQuery
function preloadImages(images) {
$(images).each(function(){
$('')[0].src = this;
});
}
preloadImages([
'images/image1.png',
'images/image2.png'
]);