forked from ZwiiCMS-Team/ZwiiCMS
[9.0.08] simplelightbox
This commit is contained in:
parent
da07801e74
commit
7be099f844
@ -329,11 +329,17 @@ core.start = function() {
|
||||
}).trigger("resize");
|
||||
|
||||
// Ajouter l'attribut data-lity afin de faire la liaison avec lity
|
||||
// $("a[rel='data-lity']").attr("data-lity","");
|
||||
//$("a[rel='data-lity']").attr("data-lity","");
|
||||
|
||||
// Ajouter la classe Gallery afin de faire la liaison avec simplelightbox
|
||||
$("a[rel='gallery']").addClass("gallery","");
|
||||
|
||||
/**
|
||||
* Démarrer simplelightbox
|
||||
**/
|
||||
|
||||
$('.gallery').simpleLightbox();
|
||||
|
||||
};
|
||||
core.start();
|
||||
|
||||
@ -354,4 +360,4 @@ core.relativeLuminanceW3C = function(rgba) {
|
||||
var G = (GsRGBA <= .03928) ? GsRGBA / 12.92 : Math.pow((GsRGBA + .055) / 1.055, 2.4);
|
||||
var B = (BsRGBA <= .03928) ? BsRGBA / 12.92 : Math.pow((BsRGBA + .055) / 1.055, 2.4);
|
||||
return .2126 * R + .7152 * G + .0722 * B;
|
||||
};
|
||||
};
|
@ -495,7 +495,8 @@ class common {
|
||||
// 'codemirror', // Désactivé par défaut
|
||||
'tippy',
|
||||
'zwiico',
|
||||
'imagemap'
|
||||
'imagemap',
|
||||
'simplelightbox'
|
||||
],
|
||||
'view' => ''
|
||||
];
|
||||
|
0
module/gallery/vendor/simplelightbox/inc.json → core/vendor/simplelightbox/inc.json
vendored
Executable file → Normal file
0
module/gallery/vendor/simplelightbox/inc.json → core/vendor/simplelightbox/inc.json
vendored
Executable file → Normal file
0
module/gallery/vendor/simplelightbox/init.css → core/vendor/simplelightbox/init.css
vendored
Executable file → Normal file
0
module/gallery/vendor/simplelightbox/init.css → core/vendor/simplelightbox/init.css
vendored
Executable file → Normal file
0
module/gallery/vendor/simplelightbox/simplelightbox.min.css → core/vendor/simplelightbox/simplelightbox.min.css
vendored
Executable file → Normal file
0
module/gallery/vendor/simplelightbox/simplelightbox.min.css → core/vendor/simplelightbox/simplelightbox.min.css
vendored
Executable file → Normal file
0
module/gallery/vendor/simplelightbox/simplelightbox.min.js → core/vendor/simplelightbox/simplelightbox.min.js
vendored
Executable file → Normal file
0
module/gallery/vendor/simplelightbox/simplelightbox.min.js → core/vendor/simplelightbox/simplelightbox.min.js
vendored
Executable file → Normal file
Loading…
Reference in New Issue
Block a user