Advertisement
developerjustin

Untitled

Feb 12th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.           var slider = $('.bxslider').bxSlider({
  2.                 auto:true,
  3.                 onSlideAfter: function (slide, oldIndex, newIndex) {
  4.                     slider.stopAuto();
  5.                     setTimeout(function () {
  6.                         console.log("PAUSED");
  7.                         slider.goToSlide(newIndex);
  8.                         slider.startAuto();
  9.                     }, 4000);
  10.                 },
  11.                 touchEnabled: false
  12.           });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement