[JAVASCRIPT] 해상도 설정 보기
Computer_IT/PHP2006. 6. 29. 15:55
반응형
<html>
<body>
<script type="text/javascript">
document.write("해상도 : ")
document.write(screen.width + "*" + screen.height)
document.write("<br />")
document.write("보기 가능영역 : ")
document.write(screen.availWidth + "*" + screen.availHeight)
document.write("<br />")
document.write("색상 : ")
document.write(screen.colorDepth)
document.write("<br />")
document.write("버퍼 : ")
document.write(screen.bufferDepth)
document.write("<br />")
document.write("XDPI : ")
document.write(screen.deviceXDPI)
document.write("<br />")
document.write("YDPI : ")
document.write(screen.deviceYDPI)
document.write("<br />")
document.write("LogicalXDPI: ")
document.write(screen.logicalXDPI)
document.write("<br />")
document.write("LogicalYDPI: ")
document.write(screen.logicalYDPI)
document.write("<br />")
document.write("FontSmoothingEnabled: ")
document.write(screen.fontSmoothingEnabled)
document.write("<br />")
document.write("PixelDepth: ")
document.write(screen.pixelDepth)
document.write("<br />")
document.write("UpdateInterval: ")
document.write(screen.updateInterval)
document.write("<br />")
document.write("Window X position : ")
document.write(window.screenLeft)
document.write("<br />")
document.write("Window Y position : ")
document.write(window.screenTop)
document.write("<br />")
</script>
</body>
</html>
<body>
<script type="text/javascript">
document.write("해상도 : ")
document.write(screen.width + "*" + screen.height)
document.write("<br />")
document.write("보기 가능영역 : ")
document.write(screen.availWidth + "*" + screen.availHeight)
document.write("<br />")
document.write("색상 : ")
document.write(screen.colorDepth)
document.write("<br />")
document.write("버퍼 : ")
document.write(screen.bufferDepth)
document.write("<br />")
document.write("XDPI : ")
document.write(screen.deviceXDPI)
document.write("<br />")
document.write("YDPI : ")
document.write(screen.deviceYDPI)
document.write("<br />")
document.write("LogicalXDPI: ")
document.write(screen.logicalXDPI)
document.write("<br />")
document.write("LogicalYDPI: ")
document.write(screen.logicalYDPI)
document.write("<br />")
document.write("FontSmoothingEnabled: ")
document.write(screen.fontSmoothingEnabled)
document.write("<br />")
document.write("PixelDepth: ")
document.write(screen.pixelDepth)
document.write("<br />")
document.write("UpdateInterval: ")
document.write(screen.updateInterval)
document.write("<br />")
document.write("Window X position : ")
document.write(window.screenLeft)
document.write("<br />")
document.write("Window Y position : ")
document.write(window.screenTop)
document.write("<br />")
</script>
</body>
</html>
반응형
'Computer_IT > PHP' 카테고리의 다른 글
Fatal error: Class 'SoapClient' not found (0) | 2010.11.08 |
---|---|
[javascript] 1초마다 시간 출력 (1) | 2006.09.29 |
외부 CSS파일 불러오기 (0) | 2006.06.29 |