Hey,
I'm helping out a friend with a website he's developing and we are having trouble with preloading images on request. Basically, when the user clicks on a thumbnail of the product a <div>
slides down that includes a scrolling carrousel of large images. In total there are about 20MB of images that could be loaded in (if you did them all) so preloading them on the page load would not be an option.
Is there a way that we could call a javascript function that begins to preload about 4 images and then when it's done it has a callback function?
Thanks! P.S. We are using jQuery on the page...