I need to stop the bx-slider autoslideshow when the next button gets clicked, I have the following code.
$(document).ready(function(){
elementSlider=$(".monitor_slider").bxSlider({
auto: true, pager: false,
});
$(".monitor_slider_container .bx-wrapper .bx-next").click(function(e){
if(e.originalEvent !== undefined){
elementSlider.stopAuto();
}
});
});
No erros, but the slider keeps on changin automatically.
Any help will be really appreciated.
And forgive my bad english.