jQuery Preload folder contents?
I'm using a jQuery image preloader:
| $.preloadImages = function() { |
for (var i = 0; i < arguments.length; i++) {
| $("<img />").attr("src", arguments); |
}
}
$.preloadImages("hoverimage1.jpg","hoverimage2.jpg");
Problem: Client will be using different images throughout the year.
Question: Instead of listing an array of filenames above, is it possible to preload everything contained in a folder?
Nancy O.

