<body>
<h1>history object</h1>
<p><a href="" onclick="history.back();return false">history.back()</a></p>
<p><a href="" onclick="history.go(-2);return false">history.go(-2)</a></p>
<p><a href="" onclick="history.forward();return false">history.forward()</a></p>

<h1>screen object</h1>
<script type="text/javascript">

document.writeln("<p>");
document.writeln("screen.availTop: " + screen.availTop + "<br>");
document.writeln("screen.availLeft: " + screen.availLeft + "<br>");
document.writeln("screen.availWidth: " + screen.availWidth + "<br>");
document.writeln("screen.availHeight: " + screen.availHeight + "<br>");
document.writeln("screen.colorDepth: " + screen.colorDepth + "<br>");
document.writeln("screen.pixelDepth: " + screen.pixelDepth + "<br>");
document.writeln("</p>");

document.writeln("<h1>navigator object<\/h1>");

document.writeln("<p>");
document.writeln("navigator.userAgent: " + navigator.userAgent + "<br>");
document.writeln("navigator.appName: " + navigator.appName + "<br>");
document.writeln("navigator.appCodeName: " + navigator.appCodeName + "<br>");
document.writeln("navigator.appVersion: " + navigator.appVersion + "<br>");
document.writeln("navigator.appMinorVersion: " + navigator.appMinorVersion + "<br>");
document.writeln("navigator.platform: " + navigator.platform + "<br>");
document.writeln("navigator.cookieEnabled: " + navigator.cookieEnabled + "<br>");
document.writeln("navigator.onLine: " + navigator.onLine + "<br>");
document.writeln("navigator.userLanguage: " + navigator.userLanguage + "<br>");
document.writeln("navigator.mimeTypes[1].description: " + navigator.mimeTypes[1].description + "<br>");
document.writeln("navigator.mimeTypes[1].type: " + navigator.mimeTypes[1].type + "<br>");
document.writeln("navigator.plugins[3].description: " + navigator.plugins[3].description + "<br>");
document.writeln("</p>");

// -->
</script>
  <script type="text/javascript">
  var width = screen.availWidth;
  var height = screen.availHeight;
  var size = width+"x"+height;
  //alert(size);
//<!CDATA[
if (size == "1680x986")
{
  document.writeln(screen.availWidth+"<br/>");
        document.writeln(screen.availHeight+"<br/>");
}else if(size == "480x800")
{
document.writeln(screen.availWidth+"<br/>");
        document.writeln(screen.availHeight+"<br/>");

}
        
 //]]>  
</script>

</body>


=======================================================================================================

history object

history.back()

history.go(-2)

history.forward()

screen object

Posted by MR 손
,