Forum Moderators: open
Thanks
I often do it by putting the images just before the closing </body> tag in a tiny size - say 1x1 pixel. That way the rest of the page should load as normal, and only observant users will notice that it is continuing to load for some time afterwards.
But 30 would be a lot - I have only really done it with maybe 2 or 3, more often one.
function preloadImages() {
if (document.images) {
image1 = newImage("images/nameOfImage1.jpg");
image2 = newImage("images/nameOfImage1.jpg");
}
}