/ Published in: jQuery
I believe that Accrisoft has a fetch all images from db function built in, but you could always use some php to create the image array
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$.preloadImages = function() { for (var i = 0; i<arguments.length; i++) { img = new Image(); img.src = arguments[i]; } } $.preloadImages ( "path_to_image_array", "path_to_image_array", "path_to_image_array" );