Bouncing image

This is the script…

[code]

[/code]

i dont know how to make a link wich changes the src of the image from images/bouncing_image.gif to images/bouncing_image2.gif
I tryed a lot of ways but thys would be great!:smiley:

add the following javascript function

function changeImage(imgname) {
document.getElementById(‘imgid’).src = imgname; // imgid is the id of img tag for which src to be changed.
}

and the link can be something like this
Change Image

Sponsor our Newsletter | Privacy Policy | Terms of Service