Change Image | JavaScriptSource

Change Image

JavaScriptSource Staff Sep 9, 2000
It's always neat to dynamically change an image when the user touches it. For this example, I have one image and when you put your cursor on it, it changes to another. If you use this script, be sure to use images of the same size!

TJS Guestbook

[ Don't forget to use the preload images script! ]


The JavaScript Source: Misc.: Change 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 NotePad or SimpleText) 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

(
1 comment)

its good

shanthi Nov 20, 2008