View on GitHub

wheelzoom-revived

Simple Javascript library for zooming IMG elements with the mousewheel.

Download this project as a .zip file Download this project as a tar.gz file

Wheelzoom Demo

Usage Demo

This page illustrates two simple implementation of the library. See full documentation on GitHub.

Events demo

Try to zoom with your mouse wheel and drag on the below image.

Fired event: ""

image 1

Event handling

This example shows a simple implementation of event handling:

  • if you zoom one of the image, the same zoom level is applied to the other one;
  • if you drag on one of the image, the same drag is applied to the other one.
image 2 image 3
  • if you drag on one of the image, the same drag is applied to the other one, WHEN DRAG IS ENDEND.
image 4 image 5

Fullscreen support

X
image 6
  • Support for fullscreen (image in portrait mode)
X
image 7

Bootstrap modal support