forked from ZwiiCMS-Team/ZwiiCMS
[9.2.23] Warning SLB
This commit is contained in:
parent
eabac93f1f
commit
c7a7ded396
4
core/vendor/simplelightbox/inc.json
vendored
4
core/vendor/simplelightbox/inc.json
vendored
@ -1,6 +1,6 @@
|
||||
[
|
||||
"simple-lightbox.jquery.min.js",
|
||||
"simple-lightbox.min.css",
|
||||
"init.css",
|
||||
"init.js"
|
||||
"init.js",
|
||||
"init.css"
|
||||
]
|
3
core/vendor/simplelightbox/init.js
vendored
3
core/vendor/simplelightbox/init.js
vendored
@ -1,14 +1,13 @@
|
||||
// Paramètres d'initialisation
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
// Ajouter la classe Gallery afin de faire la liaison avec simplelightbox
|
||||
$("a[rel='gallery']").addClass(
|
||||
"gallery",""
|
||||
);
|
||||
|
||||
// Démarrer le script
|
||||
$('.gallery').simpleLightbox({closeText:"×",captionsData:'alt'});
|
||||
//var a = $('.gallery').simpleLightbox({closeText:"×",captionsData:'alt'});
|
||||
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user