Difference between screen.availHeight and window.height
        Posted  
        
            by akshayexp
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by akshayexp
        
        
        
        Published on 2010-06-15T10:12:17Z
        Indexed on 
            2010/06/15
            10:42 UTC
        
        
        Read the original article
        Hit count: 220
        
Hi,
I am executing the following javascript on my browser(firefox)
1.console.debug("Screen height = "+ screen.availHeight); //output 770
2.console.debug("Window Height ="+ $(window).height()); //output 210 (i am using jQuery as well)
What is the difference between the two? Are units of 770 is pixels and 210 is mm ?
Similarly, when I write $(document).height() and $(window).height() , there is a difference . What is the reason ?
© Stack Overflow or respective owner