From dc952584d2dea8081024c50d1f4543c226ff2a07 Mon Sep 17 00:00:00 2001 From: ars Date: Mon, 21 Nov 2022 06:24:22 +0100 Subject: [PATCH] Added possibility to add multiple classes to captions #280, added possibility for better selectors which fixes #62 again, fixed #268 lightbox not centered with scrolling --- README.md | 1 + bower.json | 2 +- demo/index.html | 7 +- demo/onlyImages.html | 4 +- dist/simple-lightbox.css | 2 +- dist/simple-lightbox.esm.js | 83 +++- dist/simple-lightbox.jquery.js | 72 +++- dist/simple-lightbox.jquery.min.js | 2 +- dist/simple-lightbox.js | 72 +++- dist/simple-lightbox.legacy.js | 642 ++++++++++++++++++++--------- dist/simple-lightbox.legacy.min.js | 2 +- dist/simple-lightbox.min.css | 2 +- dist/simple-lightbox.min.js | 2 +- dist/simple-lightbox.modules.js | 72 +++- package.json | 2 +- src/license-notice.txt | 2 +- src/simple-lightbox.js | 81 +++- 17 files changed, 779 insertions(+), 271 deletions(-) diff --git a/README.md b/README.md index 2e3aeda..97b8992 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,7 @@ Run `gulp watch` to enable continous watching of both src/simple-lightbox.js and Just call `gulp build` to have all files and variants created inside dist! ### Changelog +**2.11.0 - Added possibility to add multiple classes to captions #280, added possibility for better selectors which fixes #62 again, fixed #268 lightbox not centered with scrolling** **2.10.4 - Fixed #277 - add passive listener for scroll events, #276 mistake z-index** **2.10.3 - Fixed #264 - Fixed wrong mouse-zoom when the page is scrolled** **2.10.2 - Fixed #258 with opacity flicker on overlay. For this, moved style option captionOpacity to js plugin** diff --git a/bower.json b/bower.json index e86a92e..51c48b2 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "simplelightbox", - "version": "2.10.4", + "version": "2.11.0", "homepage": "https://simplelightbox.com/", "authors": [ "André Rinas (https://www.andrerinas.de)" diff --git a/demo/index.html b/demo/index.html index 1ead56a..808928e 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,7 +4,7 @@ - + SimpleLightbox by André Rinas @@ -14,7 +14,7 @@
-

SimpleLightbox v2.10.4

+

SimpleLightbox v2.11.0

Touch-friendly image lightbox
+ 2.11.0 - Added possibility to add multiple classes to captions #280, added possibility for better selectors which fixes #62 again, fixed #268 lightbox not centered with scrolling
2.10.4 - Fixed #277 - add passive listener for scroll events, #276 mistake z-index
2.10.3 - Fixed #264 - Fixed wrong mouse-zoom when the page is scrolled
2.10.2 - Fixed #258 with opacity flicker on overlay. For this, moved style option captionOpacity to js plugin
@@ -759,7 +760,7 @@

Author/
Contributors

- + +