2
lighboxオプションのgalleriaを使用しています。クロームと他のブラウザを使用していますが、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をデバッグし、それがオープンライトボックス
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-does-work-on-last-mozilla-f。それはgalleria v1.3.6で解決されました –
私は既にgalleria 1.4.2を使用していますが、lightbox –