resetting bxSlider

前端 未结 9 1641
滥情空心
滥情空心 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:47

    As the website says: you have the slideshowContainer to be attached to a variable in order to use the public functions. As reloadShow() and destroyShow() are public functions, this is the only way to go. Worked perfectly for me. I've simply put a

    var $theslideshow = [functionThatCallsYourSlideshow] 
    

    before my function and called afterwards $theslideshow.destroyShow();

    hope this helps

提交回复
热议问题