code
//例如:页面高度1000,屏幕高度900,相差100,
//scrollTop:向上滚动100像素,就到达页面底部了。
function ScrollToBottom() {
    $("html, body").animate({ scrollTop: $(document).height() - $(window).height() });
}

  

posted on 2023-02-23 09:34  邢帅杰  阅读(744)  评论(0编辑  收藏  举报