Flexslider, Disable Mousewheel After/on The Last Slide
I am currently using mouse-wheel to go from slide to slide. The slider I have is full screen so you cannot scroll passed it. This works out great, but I want to disable the mouse
Solution 1:
this ended up doing the trick (went in the end function)
$('#main_slider .flexslider').unmousewheel();
Solution 2:
Thanks, I was able to turn off mouse wheel scrolling in my horizontal slider !!
}
// MOUSEWHEEL:if (vars.mousewheel) {
slider.bind('**unmousewheel**', function(event, delta, deltaX, deltaY) {
event.preventDefault();
var target = (delta < 0) ? slider.getTarget('next') : slider.getTarget('prev');
slider.flexAnimate(target, vars.pauseOnAction);
});
}
// PAUSEPLAYif (vars.pausePlay) methods.pausePlay.setup();
Post a Comment for "Flexslider, Disable Mousewheel After/on The Last Slide"