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


JAVASCRIPT DHTML TUTORIALS » Window Browser » Screen »

 

'logicalXDPI' Example



    
<html>
<body>
<script language="JavaScript">
function function1() {
    var m = screen.logicalXDPI;
    var n = screen.logicalYDPI;
    alert("Screen XDPI =n"+m)
    alert("Screen YDPI =n"+n)

</script>
<input type="button" value="Click me" onclick="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