Skip to content

Releases: jmalarcon/jquery.pan

v6.0.0

04 Oct 09:58
Compare
Choose a tag to compare
  • Enhanced wheel and touch events for better CLS metrics for Google Performance and SEO, with:
    • Passive events
    • Event throttling to better control zoom speed in those cases
    • New wheelZoomSpeed option to control that speed
  • Changed button images to SVG for faster download, and added slight contrast shadow to make them visible in any background
  • Removed support for Internet Explorer, reducing the size and complexity of the package.
  • Updated npm dev packages to latest versions

v5.0.1

09 Feb 15:35
Compare
Choose a tag to compare

Fixed a bug when minLoadingTime was 0 or missing.

v5.0.0

02 Sep 11:06
6a914fe
Compare
Choose a tag to compare
  • Added the ability to apply zoom & pan to dynamically added images (see example at the end fo the index.html file.
  • Added an options parameter to specify initialization options the first time the pan method is called
  • Added a new option to delay the loading of images

The new options object breaks compatibility with previous versions but it's under control and will work with the old boolean parameter to determine if rotation controls should be used, but it's deprecated.

Thanks to @MobCode100 for the initial pull request.

v4.0.1

20 Apr 17:27
Compare
Choose a tag to compare
  • Add support for wrapping links: new button for navigating to the link if the image is wrapped in a <a> tag, that maintains the original title and target attributes.
  • Added support to zoom several images inside the same container element (check the sample page)
  • Changed the way buttons are positioned
  • Modernizing some parts of the code
  • New images and CSSs, so you need to update those too

v3.0.3 - Rotation state

15 Feb 12:22
Compare
Choose a tag to compare

Prevent rotation state to be kept between uses

V3.0.2 - Bug fixed

15 Feb 11:57
Compare
Choose a tag to compare

A bug was fixed for a misaligned code line that prevented the pan() method returning the resulting elements where the zoom was applied.

v3.0 - Image rotation support

15 Feb 10:06
Compare
Choose a tag to compare

This 3.x version adds support for image rotation.

Because of that I needed to change the way the zoom image got positioned, from absolute positioning to 2D transforms. This, and the rotation transform has made the plugin not compatible with Internet Explorer versions before IE10, and I've bumped the version to 3.0 from 2.0.

You can disable the image rotation feature in blogs or other similar contexts by passing a false to the pan() method.

V 2.2 - Enhanced icons, loading indicator

09 Feb 09:09
Compare
Choose a tag to compare
  • The original zoom in, zoom out and close icons were not easily spotted with very dark or very light big images. I've added a subtle glow effect and they are now very easily spotted under all circumstances.
  • Added support for an animated loading indicator that is shown while the big image loads.
  • Fixed: When a new image was loaded the previous zoomed one was shown while the new loaded. Now the previous one is unloaded before the new starts to load.

v 2.0.2

18 Dec 16:09
Compare
Choose a tag to compare

Fixed small bug with data-big attribute not working in images if the image src had its natural size.

v2.0.1

04 Dec 18:52
Compare
Choose a tag to compare
  • Automatically add zoom and pan to any images or elements with images
  • Auto-apn alongside pointer movement
  • Zoom in and out support. You can increase or decrease the zoom level with specific buttons or with the mouse wheel
  • Support for mobile devices. You can pan dragging the zoomed image
  • Support from IE8+ and modern desktop and mobile browsers