stevenwanderski / bxslider-3

jQuery custom content slider
http://bxslider.com
448 stars 101 forks source link

fade mode bug > same slide and onSlideAfter not working #252

Closed MWDavidH closed 8 years ago

MWDavidH commented 8 years ago

Hi,

everythink is working nice with mode: 'horizontal', but when mode is set to "fade" and after clicking many times, the slide is still the same and the "onSlideAfter " callback doesn't work. Here is my settings and a JsFiddle link :

https://jsfiddle.net/gamedware/Lupcs8mv/9/

var $xlslider = $('#xl-slider .bxslider').bxSlider({
     mode: 'fade',
     pager: 0,
     auto: 1,
     speed: 1500,
     pause: 5000,                
     onSlideAfter: function($slideElement) {                    
        $('.xlso-item').removeClass('active');
        $($slideElement).find('.xlso-item').addClass('active');
   }
});
MWDavidH commented 8 years ago

sorry I move on bxslider-4 issues https://github.com/stevenwanderski/bxslider-4/issues/1021