JS get wide High
1 functionGetInfo ()2 { 3 vars = ""; 4s + = "page visible area width:" +Document.body.clientWidth;5s + = "page visible Area High:" + document.body.clientHeight;//Body6s + = "page visible area width:" + document.body.offsetWidth + "(including Edge and scroll bar width)"; 7s + = "page visible Area High:" + Document.body.offsetHeight + "(including edge width)"; 8s + = "page body Full text width:" +Document.body.scrollWidth;9s + = "page body full text High:" + document.body.scrollHeight;//windowTens + = "page is rolled high (FF):" +Document.body.scrollTop; Ones + = "page is rolled high (ie):" +Document.documentElement.scrollTop; As + = "page is rolled away left:" +Document.body.scrollLeft; -s + = "page body part:" +Window.screentop; -s + = "page body part left:" +Window.screenleft; thes + = "screen resolution High:" +Window.screen.height; -s + = "screen resolution width:" +Window.screen.width; -s + = "screen available work area height:" +Window.screen.availHeight; -s + = "screen usable workspace width:" +Window.screen.availWidth; +s + = "Your screen setting is" + window.screen.colorDepth + "bit color"; -s + = "your screen settings" + Window.screen.deviceXDPI + "pixels/inch"; + //alert (s); A } atGetInfo ();
JS get wide High