Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Releases: fancyapps/fancybox

v3.1.25

19 Sep 14:43
Compare
Choose a tag to compare

Some bugfixes and tweaks.

v3.1.20

08 Jun 11:39
Compare
Choose a tag to compare
  • It is now possible to disable or customize open/close/transition animations

  • fancyBox is now multilingual, you can set language using lang option and add new language using i18n

  • Changed default content type from "iframe" to "image" to avoid typical confusion
    when using links like image.php?id=123 without specifying content type;
    this means that you have to set data-type="iframe" for your iframe links;

  • Simplified manual calling, it now works without using opts option (similarly to v2) for example:
    $.fancybox.open({src: '<div><h1>Hello!</h1></div>', type: 'html', beforeShow: function(){ console.info('It works!'); }});

  • New option protect - disables right click for any content type, replaces "image.protect" option

  • New option mobile - collection of options that will override current settings when mobile device is detected

  • New option idleTime - customize or disable idle time

  • Option closeTpl is now replaced by btnTpl.smallBtn

  • Removed option closeClickOutside

  • New options clickContent, clickSlide, clickOutside to handle click events (possible values: "close", "next", "nextOrClose", "toggleControls", "zoom", false or function)

  • Unified module option naming; "thumbs", "fullScreen" and "slideShow" now have autoStart option
    that replaces previously used showOnStart / requestOnStart options.

  • Slideshow now uses Page Visibility API to pause slideshow when window is not active

  • Option selector (used to filer ajax content) is renamed to filter;

  • You can pass option selector to use event delegation instead of directly attaching click event to selected elements; example: $().fancybox({ selector : '[data-fancybox="images"]', loop : true });

  • $.fancybox.isTouch is renamed to isMobile

  • Callbacks "beforeMove/afterMove/onComplete" are replaced by "beforeShow/afterShow"

  • Improved scrollbar hiding, works better with other modals

  • Improved hash module, it now works better when pressing back button

v3.0.47

14 Mar 19:46
Compare
Choose a tag to compare

New "hash" module, few bugfixes and tweaks

v3.0.39

06 Mar 20:03
Compare
Choose a tag to compare

Wrap current code before implementing API changes.

V2.1.7

28 Feb 15:49
Compare
Choose a tag to compare

Bump version; update year at description

v2.1.6: Merge pull request #1152 from Firesphere/patch-1

10 Jan 17:48
Compare
Choose a tag to compare
Fix for breaking change in jQuery 3