Is there a way to tell a javascript to display a random image from a directory?
I need to be able to have the script look at a directory full of images and then choose one randomly from the directory to display instead of having to list the images in the script. I mainly want it to support *.jpg's... or anything IE can support.
Question
nicedreams
Is there a way to tell a javascript to display a random image from a directory?
I need to be able to have the script look at a directory full of images and then choose one randomly from the directory to display instead of having to list the images in the script. I mainly want it to support *.jpg's... or anything IE can support.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts