页面滚动到顶部

//滚动到顶部
function initScrollToTop(){
$("html,body").animate({scrollTop: 0},1000);
}
posted @ 2017-03-01 17:20  constance_girl  阅读(132)  评论(0编辑  收藏  举报