nivo滑块和灯箱冲突jquery
任何人都可以帮助我使用这个jquery函数。 我知道这是两者的冲突,但我不知道我必须改变什么。
它既适用于页面,也适用于页面。 但是灯箱不起作用。
灯箱
Nivo滑块
$(window).load(function() { $('#slider').nivoSlider({ effect:'fade', slices:10, animSpeed:1500, pauseTime:10000, directionNav:true, //Next & Prev directionNavHide:true, //Only show on hover controlNav:true, //1,2,3... keyboardNav:true, //Use left & right arrows pauseOnHover:true, //Stop animation while hovering manualAdvance:false, //Force manual transitions captionOpacity:0.8, //Universal caption opacity beforeChange: function(){}, afterChange: function(){}, slideshowEnd: function(){} //Triggers after all slides have been shown }); });
试试这个:
只是说我遇到了同样的问题。
插件:
- jQuery Lightbox For Native Galleries
- 适用于WordPress的Nivo滑块
我通过删除第32行使其工作:
来自nivoslider4wp-shop.php位于\ plugins \ nivo-slider-for-wordpress \
我希望有所帮助。