Posted By

flexyournoggin on 09/12/14


Tagged

javascript js bxslider


Versions (?)

BXSlider Stop Slide on Transition


 / Published in: JavaScript
 

URL: http://www.antimath.info/jquery/prevent-bxslider-stop-auto/

bxSlider

Prevent bxSlider stop auto slides transition, when navigating through slides.

  1. // http://www.antimath.info/jquery/prevent-bxslider-stop-auto/
  2. // Saving here to preserve
  3. $(document).ready(function(){
  4. var slider = $('#slideshow').bxSlider({
  5. auto: true,
  6. stopAuto: false,
  7. startSlide: 0
  8. });
  9.  
  10. $(document).on('click','.bx-pager-link',function() {
  11. slider.stopAuto();
  12. slider.startAuto();
  13. });
  14. });

Report this snippet  

You need to login to post a comment.