Change picturesYou can change pictures with javascript. (This won't work on old browsers.)In this example the image has the name "fish". You can change it by writing this: document.fish.src="fish.gif" You can also use arrays. Then document.images[0].src will be the first image in the document and document.images[1].src will be the next image. |
Click here to see me jump!!!
|
When you click, this code will replace the fish picture with other pictures. Here all the pictures: |