【轉】Js中 關於top、clientTop、scrollTop、offsetTop的用法

轉載自 taomin15201212   網頁可見區域寬: document.body.clientWidth; 網頁可見區域高: document.body.clientHeight; 網頁可見區域寬: document.body.offsetWidth   (包括邊線的寬); 網頁可見區域高: document.body.offsetHeight  (包括邊線的寬); 網頁正文全文寬: doc
相關文章
相關標籤/搜索