html 页面,左侧按钮点击置顶

按钮点击实现置顶效果
function topto() {
$('body,html').animate({
scrollTop: '0em'

}, 1000);

}



posted @ 2020-10-21 15:22  LUCKY-y  阅读(700)  评论(0编辑  收藏  举报