老师,判断动画在执行中用 .is(":animated") 是不是更好些?
this.nextBtn.click(function(){
if( !self.posterItem.is(":animated") ){
self.carouselRotate("left");
}
});
this.prevBtn.click(function(){
if( !self.posterItem.is(":animated") ){
self.carouselRotate("right");
}
})