jundo12
05-09-2014, 04:34 AM
I would like to make this
zoom script, upon click, to change an image elsewhere on the page. and upon another click, change it back to the first image again.
<input type="image" src="up2.png" width="10%" onclick="zoom (1.2)"/>
<input type="image" src="down2.png" width="10%" onclick="zoom(0.9)"/>
the idea being that each time a click happens, it zooms a bit and changes a pic of a character nearby. and upon another click zooms a bit more and shows the original pic of the character again, and repeats that same sequence, each time it's clicked. so original pic, second pic, original pic, second pic = click click click click and so on .
zoom script, upon click, to change an image elsewhere on the page. and upon another click, change it back to the first image again.
<input type="image" src="up2.png" width="10%" onclick="zoom (1.2)"/>
<input type="image" src="down2.png" width="10%" onclick="zoom(0.9)"/>
the idea being that each time a click happens, it zooms a bit and changes a pic of a character nearby. and upon another click zooms a bit more and shows the original pic of the character again, and repeats that same sequence, each time it's clicked. so original pic, second pic, original pic, second pic = click click click click and so on .