2
Я использую galleria с опцией lighbox, его wokring отлично с хромом и другим браузером, но в Mozilla он не работает.galleria lighbox не работает в firefox
<script>
jQuery(document).ready(function() {
// Load the classic theme
Galleria.loadTheme('js/galleria.classic.min.js');
// Initialize Galleria
Galleria.run('#flexy_gallery', {
showInfo:true,
showCounter:false,
// search flickr for "Cantonese food"
flickr: 'search: cartoon',
flickrOptions: {
// sort by interestingness
sort: 'interestingness-desc'
},
description : true ,
});
Galleria.configure({
lightbox: true
});
});
</script>
я отлаживать Галерею JS и нашел, что это идет в одном из функции салфетки в Mozilla Fire Fox и благодаря тому, что она не открывается лайтбокс
if (swipe) {
//Mozilla goes inside this loop and due to this it does not call **_show** function
} else {
//for other browser it goes inside this loop and works fine
protoArray.push.call(this._queue, {
index : index,
rewind : rewind
});
if (!this._queue.stalled) {
this._show();
}
}
Может быть: http://support.galleria.io/discussions/problems/11136-it-doesnt-work-on-last-mozilla-f. Это было решено в galleria v1.3.6 –
Я уже использую galleria 1.4.2, но все же выдаю в firefox для лайтбоксов –