문제

Check out my here. I want to know what method I would use if I want to use the ribbons on the left to call specific slides to show. For example, if I click Photo-Fusion it would call the Photo-Fusion slide.

도움이 되었습니까?

해결책

[untested] I think it's probably because it seems you haven't set a reference to the bxslider. That's why you can't call the methods.

//hold a reference to the slider
var myBX;
$(document).ready(function(){
    myBX = $('.bxslider').bxSlider({...});
}
//later on...
$(#yourPhotoFusionButton").on("click",function(e){myBX.goToSlide(4);});

Look up the public methods here: http://bxslider.com/options

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top