【问题标题】:How to stop sliding anythingSlider(jQuery plugin)?如何停止滑动任何东西Slider(jQuery插件)?
【发布时间】:2013-08-01 17:35:33
【问题描述】:

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

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

但仍在滑动。 谢谢

【问题讨论】:

  • 试试:$('.anythingSlider').data('AnythingSlider').startStop(false);.
  • 我试过这个不起作用

标签: jquery anythingslider


【解决方案1】:

也许???

// 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 

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-22
    • 2017-04-14
    • 1970-01-01
    • 1970-01-01
    • 2011-10-21
    • 1970-01-01
    相关资源
    最近更新 更多