<Script language = "JavaScript">
Var s = "";
S + = "<br> visible area width of the webpage:" + document. body. clientWidth;
S + = "<br> visible area of the webpage:" + document. body. clientHeight;
S + = "<br> visible area width of the webpage:" + document. body. offsetWidth + "(including the width of the edge and scroll bar )";
S + = "<br> visible area height of the webpage:" + document. body. offsetHeight + "(including the width of the edge )";
S + = "<br> webpage text width:" + document. body. scrollWidth;
S + = "<br> webpage text Height:" + document. body. scrollHeight;
S + = "<br> webpage volume Height:" + document. body. scrollTop;
S + = "<br> left when the webpage is rolled:" + document. body. scrollLeft;
S + = "<br> webpage body part:" + window. screenTop;
S + = "<br> webpage body section left:" + window. screenLeft;
S + = "<br> high screen resolution:" + window. screen. height;
S + = "<br> screen resolution width:" + window. screen. width;
S + = "<br> available workspace Height:" + window. screen. availHeight;
S + = "<br> available workspace width:" + window. screen. availWidth;
S + = "<br> your screen is set to" + window. screen. colorDepth + "bit color ";
S + = "<br> your screen Settings" + window. screen. deviceXDPI + "pixels/inches ";
Document. write (s );
Document. write ("<br> ");
Var I = window. screen. availWidth;
If (I = 1024)
{
Document. write ("1024*768 ")
}
Else
{
Document. write ("1280*1024 ");
}
</SCRIPT>