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
});
})
精彩评论