html5js實現滾動條滑動到底部

html5js實現滾動條滑動到底部 html document.body.scrollTop = document.body.scrollHeight; 判斷滾動條是否到底部html5 //滾動條在Y軸上的滾動距離 function getScrollTop(){ var scrollTop = 0, bodyScrollTop = 0, documentScrollTop = 0;
相關文章
相關標籤/搜索