Get Current monitor settings using JavaScript

Chikul
Posted by Chikul under JavaScript category on | Views : 2865
<head runat="server">
<title>Get Current monitor settings using JavaScript</title>
<script type="text/javascript">
document.write("<b><u>Current monitor settings</u></b><br />")
document.write("<b>Color Depth : </b>" + window.screen.colorDepth + "<br />")
document.write("<b>Screen Width * Height : </b>" + screen.width + "*" + screen.height + "<br />")
document.write("<b>Available Screen Width * Height : </b>" + window.screen.availWidth + "*" + window.screen.availHeight + "<br />")
document.write("<b>Available Colurs : </b>" + Math.pow (2, window.screen.colorDepth) +"<br />")
document.write("<b>Is This Using an anti-aliasing fonts ? : </b>" + window.screen.fontSmoothingEnabled)
</script>
</head>

Comments or Responses

Login to post response