BXSlider Stop Slide on Transition


/ Published in: JavaScript
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. });

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.