Random Image
Use this script to randomly display a different image each time the page is visited. Refresh this page and notice the image below will change. Any number of images can be used, and set-up is very easy.
| The JavaScript Source: Miscellaneous: Random Image
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!
|


Leave a Response
(2 comments)This script is working very well on my webpage except that every time the image changes the screen flickers. Can you recommend a solution? Thank you!
love that this worked, but want the random image as the background. How do I specify that within the code?