Detect the client's screen : Screen : Window Browser JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Window Browser » Screen »

 

Detect the client's screen



<html>
<body>
<script type="text/javascript">
    document.write("Screen resolution: ")
    document.write(screen.width + "*" + screen.height)
    document.write("<br>")
    document.write("Available view area: ")
    document.write(screen.availWidth + "*" + screen.availHeight)
    document.write("<br>")
    document.write("Color depth: ")
    document.write(screen.colorDepth)
    document.write("<br>")
</script>
</body>
</html>




           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Window Browser
» Screen