I have a webpage with an image and two buttons (zoomin and zoomout).
I want:
- When I click on zoomin, the cursor will change into zoomin cursor whenever it is over the image, and similarly when I click on zoomout, it will change into zoomout cursor whenever it is over the image.
- When the cursor is zoomin, if I click on the image, the image will be zoomed in for 10%, and similarly for zoomout.
Anyone can help me to write code for the above purpose?
the image will be zoomed similarly to your example, but under the way as i proposed, it means when i click on the image and the cursor is in "zoomin" state, the image will be larger by 10%
Bookmarks