网页可见区域宽:document.body.clientWidth;
网页可见区域高:document.body.clientHeight;
网页可见区域高:document.body.offsetWidth   (包括边线的宽);
网页可见区域高:document.body.offsetHeight (包括边线的宽);
网页正文全文宽:document.body.scrollWidth;
网页正文全文高:document.body.scrollHeight;
网页被卷去的高:document.body.scrollTop;
网页被卷去的左:document.body.scrollLeft;
网页正文部分上:window.screenTop;
网页正文部分左:window.screenLeft;
屏幕分辨率的高:window.screen.height;
屏幕分辨率的宽:window.screen.width;
屏幕可用工作区高度:window.screen.availHeight;
屏幕可用工作区宽度:window.screen.availWidth;

<script type="text/javascript"><!--document.write('<h1>js获取页面各种高度</h1>'+'<br><span>网页可见区域宽:document.body.clientWidth </span>'+document.body.clientWidth+' '+'<br><span>网页可见区域高:document.body.clientHeight</span>'+document.body.clientHeight+'<br><span>网页可见区域高:document.body.offsetWidth</span>'+document.body.offsetWidth+' (包括边线的宽)'+'<br><span>网页可见区域高:document.body.offsetHeight</span>'+document.body.offsetHeight+' (包括边线的宽)'+'<br><span>网页正文全文宽:document.body.scrollWidth</span>'+document.body.scrollWidth+'<br><span>网页正文全文高:document.body.scrollHeight</span>'+document.body.scrollHeight+'<br><span>网页被卷去的高:document.body.scrollTop</span>'+document.body.scrollTop+'<br><span>网页被卷去的左:document.body.scrollLeft</span>'+document.body.scrollLeft+'<br><span>网页正文部分上:window.screenTop</span>'+window.screenTop+'<br><span>网页正文部分左:window.screenLeft</span>'+window.screenLeft+'<br><span>屏幕分辨率的高:window.screen.height</span>'+window.screen.height+'<br><span>屏幕分辨率的宽:window.screen.width</span>'+window.screen.width+'<br><span>屏幕可用工作区高度:window.screen.availHeight</span>'+window.screen.availHeight+'<br><span>屏幕可用工作区宽度:window.screen.availWidth</span>'+window.screen.availWidth);document.getElementsByTagName("head")[0].innerHTML+='<style type="text/css">'+'span{display:inline-block;margin-right:50px;}'+'</style>';//--></script>