如何停止滑动anySlider(jQuery插件)?

时间:2013-08-01 17:35:34

标签: jquery anythingslider

如果用户想要在当前页面= 1时返回,我需要停止anythingslider滑动。所以我不想要旋转。我试过了

onSlideBegin : function(e, slider){
    return false;
} // there is no check I just need to know how to stop sliding

但仍在滑动。 感谢

1 个答案:

答案 0 :(得分:0)

也许???

// Slideshow options 
  autoPlay            : false,     // If true, the slideshow will start running; replaces "startStopped" option 
  autoPlayLocked      : false,     // If true, user changing slides will not stop the slideshow 
  autoPlayDelayed     : false,     // If true, starting a slideshow will delay advancing slides; if false, the slider will immediately advance to the next slide when slideshow starts 
  pauseOnHover        : true,      // If true & the slideshow is active, the slideshow will pause on hover 
  stopAtEnd           : false,     // If true & the slideshow is active, the slideshow will stop on the last page. This also stops the rewind effect when infiniteSlides is false. 
  playRtl             : false,     // If true, the slideshow will move right-to-left