Response title
This is preview!
I inverted the mouse scroll by changing if (theEvent / 120 > 0) { to if (theEvent / 120 < 0) {
It seems to work with no problems! Now WheelUp = ZoomIn / WheelDown = ZoomOut!
- minZoomLevel default value changed from 1.01 to 0.1, now it's possible to ZoomIn further than the image real size by default!
If there are better alternatives, please let me know!
- I still need help with, if (image width\height < screen width\height), the image is positioned to the top\left screen (I want it centered instead)
Mouse Inverted Demo: https://coder4589.github.io/elevatezoom-plus-coder4589/scroll-inverted.html
Html Code: https://github.com/coder4589/elevatezoom-plus-coder4589/blob/master/scroll-inverted.html
© 2013 jQuery Foundation
Sponsored by and others.