You can scramble the order of the images in the sense that what used to be the 1st image in the array is random each time, so is the 2nd, 3rd etc. In other words, the order associated with each image becomes randomized. Inside the .js file, add the line in red to the existing code:
Code:
setting.imagearray.sort(function() {return 0.5 - Math.random()}) //scramble order of images
for (var i=0; i<setting.imagearray.length; i++){
preloadimages[i]=new Image()
preloadimages[i].src=setting.imagearray[i][0]
if (setting.imagearray[i][3] && setting.imagearray[i][3].length>setting.longestdesc.length)
setting.longestdesc=setting.imagearray[i][3]
}
Bookmarks