jQuery 左侧滑动


$("#slideleft button").click(function(){
var $lefty = $(this).next();
$lefty.animate({
left:parseInt($lefty.css('left'),10)==0 ? -$lefty.outerWidth() : 0
});
});
posted @ 2015-07-03 12:28  暖爱  阅读(546)  评论(0编辑  收藏  举报