document. body.offsetHeight的问题
https://www.doc88.com/p-9035790031495.html
document. body. offsetHeight在火狐浏览器下所得的值为0,此时可以使用
var CurrentBodyHeight=document. body. offsetHeight > 0 ?
document. body.offsetHeight : document.body.clientHeight;
https://www.doc88.com/p-9035790031495.html
document. body. offsetHeight在火狐浏览器下所得的值为0,此时可以使用
var CurrentBodyHeight=document. body. offsetHeight > 0 ?
document. body.offsetHeight : document.body.clientHeight;