js、JQ中獲取各類Width、Height方法

js width、height獲取:javascript document.body.clientWidth //網頁可見區域寬 document.body.clientHeight //網頁可見區域高 document.body.offsetWidth // 網頁可見區域寬(包括邊線和滾動條的寬) document.body.offsetHeight // 網頁可見區域高(包括邊線的寬) doc
相關文章
相關標籤/搜索