0

I am having an issue with custom pager in BXSlider. I am using version 3 and would like to call slides from outsite the slider. I know that I can do so with:

$('#go-prev').click(function(){
slider.goToPreviousSlide();
return false;
});
$('#go-next').click(function(){
slider.goToNextSlide();
return false;
});

I would like to link to also be able to call a specific slide: Ex:

$('#go-slide1').click(function(){
slider.goTo?????????????();
return false;
}); 

Can anyone help... I am very new at this : /

Thanks

4

1 回答 1

0

去这里http://bxslider.com/options去公共方法

我想你可能正在寻找这个 slider.goToSlide(3);

于 2013-09-26T03:12:14.740 回答