|// Create an array of images that you'd like to use|
|var images = [|
|// Get a random number between 0 and the number of images|
|var randomNumber = Math.floor( Math.random() * images.length );|
|// Use the random number to load a random image|
Thanks. I get a random image on every refresh. But the slidefunction doesn't work anymore.
How can I get a slideshow with a randomly selected image at the start?
Here is how I made a slideshow from a directory of images with random start/order: