resetting bxSlider

前端 未结 9 1650
滥情空心
滥情空心 2021-01-06 06:45

I took a different direction with a carousel I implemented, opting for bxSlider instead of jCarousel. This is for an image gallery I am building http://rjwcollective.com/equ

9条回答
  •  被撕碎了的回忆
    2021-01-06 07:29

    You should play with these two - destroyShow() and reloadShow(). My guess is using reloadShow() only but if it doesn't work out try destroyShow() followed by bxSlider(). You'll need a variable as a reference to the plugin api.

    var slider =  $('#thumbs').bxSlider( { ... } );
    slider.reloadShow(); // or slider.destroyShow(); $('#thumbs').bxSlider( { ... } );
    

    Good luck

提交回复
热议问题