hello everyone -
i am having difficulty with this one.
I want to enlarge/reduce (zoom-in/zoom-out) an image, but i don't want the classic ondblclick=enlarge and onclick=reduce i would like two instances of ondblclick=enlarge so ::::
ondblclick=enlarge
ondblclick=reduce
!!
is it even possible and what is the function script for it.
below is my code now.
Code:
<SCRIPT LANGUAGE="JavaScript">
function enlargeImage1(){image1.height="600"} function dropImage1()
</script>
<img src="03_pictures/image.jpg" height="200" name="image1" onDblClick="enlargeImage1()" onClick="dropImage1()">
the reason i want this is because i am trying to make my images dragable with the onclick, englarging/reducing with the dblclick and captions with the mouseover - crazy!!!
hope you can help!
ben