wheelzoom
wheelzoom copied to clipboard
A small script for zooming IMG elements with the mousewheel/trackpad.
I have added a feature which works by **click**. Click on image and zoom it easy. **Initialize** in this way if you want to **disable** the **multiplier** feature ```javascript wheelzoom(document.querySelector('img.zoom'),...
**This is the html/body: .. previous .. wheelzoom(document.querySelectorAll ('img.zoom')); Langwarder Groden, detail Etc., more slides to come. Thanks for any solution. P.s. the wheelzoom.js I dowloaded via Download/JackMoore-site.
On change of image-size the script needs to recalculate the width/height of the image. Currently the background size stays the same. A typical usecase is having a responsive image like...
Hello, I am trying this on both .JPEG and .PNG image and on .JPEG images it it working fine but on .PNG images it is not working. can you tell...
Hi! My problem is: If I enlarge the image, the positioning with mouse is not smooth but jumpy. I think the jump size is 1 pixel in the original image!...
This project is really great and simple. Anyway, downloading and adding JS-files manually is very old fashioned and, depending on the project, not a good practice. Instead it would be...
I have a web page where several images are rendered in a tabbed view. On page load the image in the default tab is being processed correctly. However, when the...
I have a question about your wheel zoom plugin. I'v used it with jquery colorbox, my pictures are fitted within the colorbox It means i set the height and width...
I have updated `wheelzoom` to support `AMD` and `module.exports` with a fallback to setting `wheelzoom` on `window` and added `index.js` for importing convenience. There should not be any breaking changes...
Such a callback option can be used to synchronize the zoom level, for instance by drawing a rectangle over the original thumbnail to indicate the context.