Change pictures

You 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.


I just like to jump!!!!

Click here to see me jump!!!
Click here to see it in slow motion
And really fast


When you click, this code will replace the fish picture with other pictures.
Using the command setTimeout("jump",jumptime) will slow this action down.

Here all the pictures:


This site is made by TDgames. Having any problems? Mail us at [email protected]
Games | TI-83 assembly language | Javascript examples | DHTML examples
Find more games at TDemulation