Original
JS gets the current object size and screen resolution, etc.
<script type= "Text/javascript" >function GetInfo () {
var s = "";
s + = "page visible area width:" + document.body.clientwidth+ "\ n";
s + = "page visible Area High:" + document.body.clientheight+ "\ n";
s + = "page visible area width:" + document.body.offsetWidth + "(including Edge and scroll bar width)" + "\ n";
s + = "page visible Area High:" + Document.body.offsetHeight + "(including the width of the edge)" + "\ n";
s + = "page body Full text width:" + document.body.scrollwidth+ "\ n";
s + = "page body full text High:" + document.body.scrollheight+ "\ n";
s + = "page is rolled high (FF):" + document.body.scrolltop+ "\ n";
s + = "page is being rolled high (ie):" + document.documentelement.scrolltop+ "\ n";
s + = "page is rolled away left:" + document.body.scrollleft+ "\ n";
s + = "page body part:" + window.screentop+ "\ n";
s + = "page body part left:" + window.screenleft+ "\ n";
s + = "screen resolution High:" + window.screen.height+ "\ n";
s + = "screen resolution width:" + window.screen.width+ "\ n";
s + = "screen available working area height:" + window.screen.availheight+ "\ n";
s + = "screen available working area width:" + window.screen.availwidth+ "\ n";
s + = "Your screen settings are" + window.screen.colorDepth + "bit color" + "\ n";
s + = "your screen settings" + Window.screen.deviceXDPI + "pixel/inch" + "\ n";
alert (s);
}
GetInfo ();
</script>
(go) JS gets the current object size and screen resolution, etc.