Random Click Image | JavaScriptSource

Random Click Image

Nicholas Lupien Sep 9, 2000
Displays a random image when the page is loaded and each time the image is clicked. Simple!

click image to change

The JavaScript Source: Miscellaneous: Random Click 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 Apple-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response


When I click on the image above nothing happens. Are there settings in MSIE9 I need to change to allow it to work?

Art Apr 26, 2014

I just want the script to load a random image each time the page is loaded (not when image is clicked) since I only want one picture to load each time the page is accessed it is not necessary to preload the images. Can you help me in how to adapt your script?

Jan Sep 21, 2013