Image Swap | JavaScriptSource

Image Swap

Joshua Bollman Jun 1, 2005
Swap images using this short, sweet, and easy to edit script! The images are swapped using a MouseOver technique.

The JavaScript Source: Miscellaneous: Image Swap

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!!!


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

Leave a Response

1 comment)

I was able to make this work as intended. However I wondered if I could make it work with all clicks. So you click to change image, then click again to change back. When I changed onMouseOut to onClick, it didn't work as expected. Is it possible to activate with clicks only?

peter Mar 12, 2014