Fork me on GitHub

锚点

锚点有时候不管用时,可以用下面的代码

 $("html,body").animate({ scrollTop: 0}, 1000);

 

posted on 2015-01-26 17:34  雨为我停  阅读(192)  评论(0)    收藏  举报