Jquery pinch zoom div. Demo: Swipe + PinchZoom.

Jquery pinch zoom div. Demo: Swipe + PinchZoom.

Jquery pinch zoom div. See full list on developer. Dec 18, 2012 ยท I needed a "Maps"-like zoom for a div and was able to produce the feel I needed with your post. You can do this by adding the element (div, img, etc) and then add data-elem attribute and set the value to "zoomIn", "zoomOut" or "fullscreenToggle". To use zoom with img elements, they will need to be wrapped with another element. org PinchZoomer is an easy to setup jQuery plugin for mobile and desktop that adds pinch to zoom / mouse scroll zoom function to your HTML content. js. This provides the familiar touch gestures for zooming content in mobile devices. You can also set the onCss (active state) offCss (inactive state) properties in the data-options attribute. It is impossible to read some layout related CSS styles from JavaScript (percent-based width and height, margins set to auto, etc. mozilla.