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

Releases: fancyapps/fancybox

v3.4.0

29 Aug 08:38
Compare
Choose a tag to compare

Changes

  • Data attributes data-trigger and data-index are renamed to data-fancybox-trigger and data-fancybox-index to avoid conflicts with Bootstrap
  • Initializing with selector option will group all items into one
  • videoFormat option is replaced by new video option ( video : {tpl : "..", format : "", autoStart : true}) and it is now possible to change html5 video template and to enable/disable autoplay
  • autoFocus option now has default value true
  • Youtube videos now uses youtube-nocookie.com domain
  • Redesigned SVG icons

New

  • New option closeExisting can be used to close any previously opened instances before opening new one
  • New callback onSlideShowChange is triggered when slideshow starts/stops

Improvements
This release is mostly focused on bug fixes. There are some performance improvements; improved user experience while using tab for navigating the page

v3.3.5

12 Apr 06:20
Compare
Choose a tag to compare

Fixed issue when opening/closing causes body to jump 1px

v3.3.4

09 Apr 12:57
Compare
Choose a tag to compare

Removed iOS hack related to wrong caret position for input field - https://bugs.webkit.org/show_bug.cgi?id=176896

v3.3.3

09 Apr 09:58
Compare
Choose a tag to compare

Support YouTube custom start time; test - https://codepen.io/anon/pen/mxapNK?editors=1000

v3.3.2

09 Apr 08:01
Compare
Choose a tag to compare

Fixed issue where on same cases script would throw error while locating thumbnail image.

v3.3.1

05 Apr 15:49
Compare
Choose a tag to compare

v3.3.0

03 Apr 17:09
Compare
Choose a tag to compare
  • New feature - trigger elements; it is now possible to have multiple links having the same target, see the last example here - https://codepen.io/fancyapps/pen/VyLOJX?editors=1000
  • Default toolbar buttons are now zoom/thumbs/close to make interface cleaner;
  • Improved video (mp4) support - you can now link directly or display hidden <video> element;
  • Videos (mp4 and YouTube/Vimeo, too) now keep aspect ratio;
  • All icons are now created using SVG and navigation arrows have a simpler structure to make them easier to style;
  • createGroup method used to create the group is renamed to addContent and now can be used to populate the group;
  • Removed margin option; use padding for .fancybox-slide element instead;
  • Caption now uses one div element (dropped fancybox-caption-wrap element) and pseudo element for the background gradient;
  • Dropped support for MetaCafe, Dailymotion and Vine
  • The code is now standartized and formatted using prettier.io
  • Bugfixes

v3.2.5

17 Nov 13:27
Compare
Choose a tag to compare
  • Thumbnails now can have horizontal scrolling (axis option)
  • Improved zoom animation
  • Zoom icon is now included, but disabled by default
  • Bugfixes

v3.2.1

11 Nov 14:40
Compare
Choose a tag to compare
  • New options:
    defaultType : 'image' - Default content type if cannot be detected automatically
    thumbs.parentEl : '.fancybox-container' - Selector for element where thumbnails grid will be injected
  • Option margin now has default value 0 for mobile devices
  • Container is now placed at the bottom of the
  • Thumbnail list should now scroll properly when autoStart is enabled
  • Share module uses current page link if hash module is not disabled
  • Bugfixes

v3.2.0

06 Nov 15:42
Compare
Choose a tag to compare
  • New "Share" module (and button; you can use buttons option to customize what buttons to display)
  • Layout/CSS changes:
    - new inline SVG icons (there is also a download button available, hidden by default) and arrows;
    - infobar now shows only counter, enabled by default;
    - iOS hack to fix input focus issue.
  • Bugfixes