December 15, 2012
Wheelzoom is a simple jQuery plugin to enlarge IMG elements on mousewheel or touchpad scroll.
Wheelzoom works on img elements by replacing the element’s background-image with it’s src. The src is then replaced with a transparent PNG. The zooming is handled by sizing and positioning the background-image.
The benefit to using a background-image is that plugin change the DOM or the positioning of the img element. This means that the plugin should Just Work™ regardless of your specific CSS or markup. The drawback that there is no support for background-sizing in older browsers (IE8). Unsupported browsers get the normal img element.
Created by Jack Moore
© 2013 jquer.in
Curated By Jay Kanakiya