Screen 'colorDepth' Example : Screen : Window Browser JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Window Browser » Screen »

 

Screen 'colorDepth' Example



    
<html>
<head>
<script language="JavaScript">
    function function1() {
        var m = screen.colorDepth;
        alert("The color depth of the screen is "+m+" bits per pixel")
    
</script>
</head>
<body bgcolor="#EEEEEE" ondblclick="function1();">
</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