JQuery怎么向上滚动一页,我的只能向上滚动一行,郁闷,弄了半天都不好,大家帮我看看,怎么改改,
才能滚动一页,而不是一行。
代码如下:
样式
#bottscroll{ width:400px;height:142px; font-size:13px; font-family:Verdana, Geneva, sans-serif; overflow:hidden; border:1px solid #ABABAB; border-left:none; border-right:none;
background-color:#F0F0F0;color:#000; font-weight:100;margin-left:30px;padding-top:3px; margin-top:6px;line-height:18px;
}
#bottscroll td{ line-height:18px; white-space:nowrap;}
html
<div  id="bottscroll">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="92%" id="lotterylist">
      <%Read()%>                  
</table>
 </div>javascript
function AutoScroll(obj){
$(obj).find("table:first").animate({
marginTop:"-142px"
},500,function(){
//$(this).css({marginTop:"0px"}).find("tr:first").appendTo(this);
});
}
$(function(){setInterval('AutoScroll("#bottscroll")',2000)});