开发者

Need to reset a value

I'm using a jCarouselLite, and the documentation says to set auto to nul开发者_运维知识库l to stop the scrolling. If I have:

$("#myID").jCarouselLite({
    btnNext: "#next",
    btnPrev: "#prev",
    auto:3000
});

I thought I could pause the scrolling by doing this:

$('#next').click(function() {
    $("#myID").jCarouselLite({
        btnNext: "#next",
        btnPrev: "#prev",
        auto:null
    });
});

Nor does auto:0 or auto:999999.

Q: Do I have to somehow unbind the original settings?


$('#next').click(function() {
    $("#myID").jCarouselLite({
        btnNext: "#next",
        btnPrev: "#prev",
        auto:null
    });
})
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜