|
<script type = "text / javascript" language = "javascript">
var s = "";
s + = "\r\n page visible area width:" + document.body.clientWidth;
s + = "\r\n web page visible area height:" + document.body.clientHeight;
s + = "\r\n page visible area width:" + document.body.offsetWidth + "(including the width of the border)";
s + = "\r\n web page visible area height:" + document.body.offsetHeight + "(including the width of the border)";
s + = "\r\n full text page width:" + document.body.scrollWidth;
s + = "\r\n The full text of the web page height:" + document.body.scrollHeight;
s + = "\r\n webpage is scrolled high:" + document.body.scrollTop;
s + = "\r\n left page scrolled:" + document.body.scrollLeft;
s + = "\r\n on the body of the page:" + window.screenTop;
s + = "\r\n left part of the body of the webpage:" + window.screenLeft;
s + = "\r\n high screen resolution:" + window.screen.height;
s + = "\r\n screen resolution width:" + window.screen.width;
s + = "\r\n screen available workspace height:" + window.screen.availHeight;
s + = "\r\n screen available workspace width:" + window.screen.availWidth;
alert (s);
</ script> |
|