Plugin jQuery: jQuery Panzoom : Plugin for panning and zooming elements using CSS3

jQuery Panzoom : Plugin for panning and zooming elements using CSS3
http://www.jqueryrain.com/?http://timmywil.github.io/jquery.panzoom/demo/
https://github.com/timmywil/jquery.panzoom
11/06/2013

Nội dung

jQuery Panzoom : Plugin for panning and zooming elements using CSS3

Panzoom is a progressive plugin to create panning and zooming functionality for an element. Panzoom supports the same browsers as jQuery 2.0 and can be used with jQuery 1.9.0+ or jQuery 2.0+. Rather than setting width and height on an image tag, Panzoom uses CSS transforms and matrix functions to take advantage of hardware/GPU acceleration in the browser, which means the element can be anything: an image, a video, an iframe, a canvas, text, WHATEVER.

Panzoom includes support for touch gestures on iOS and Android and even supports pinch gestures for zooming. It is perfectly suited for both mobile and desktop browsers. You’ll be amazed at how well this performs on your mobile device.


Nguồn: www.jqueryrain.com/2013/06/jquery-panzoom-plugin-for-panning-and-zooming-elements-using-css3/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận