<HTML><Script>functionA () {document.write ("The screen resolution is:"+Screen.width+"*"+Screen.height+"<br/>"+"screen Available size:"+Screen.availwidth+"*"+Screen.availheight+"<br/>"+"width of visible area of Web page:"+Document.body.clientWidth+"<br/>"+"Web page Visible Area High:"+Document.body.clientHeight+"<br/>"+"the width of the page's visible area (including the width of the edge):"+Document.body.offsetWidth+"<br/>"+"The Web page has a high visible area (including the width of the edge):"+Document.body.offsetHeight+"<br/>"+"page Body Full text width:"+Document.body.scrollWidth+"<br/>"+"page Body Full text High:"+Document.body.scrollHeight+"<br/>"+"the page is rolled away High:"+Document.body.scrollTop+"<br/>"+"webpage is rolled away left:"+Document.body.scrollLeft+"<br/>"+"on the body part of the webpage:"+Window.screentop+"<br/>"+"page body part left:"+Window.screenleft+"<br/>"+"High screen resolution:"+Window.screen.height+"<br/>"+"width of screen resolution:"+Window.screen.width+"<br/>"+"screen usable workspace height:"+Window.screen.availHeight+"<br/>"+"screen Usable workspace width:"+window.screen.availWidth);}</Script><Bodyonload= "A ()" ></Body></HTML>
JS Get screen Size