質問

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