I am executing the following Javascript on my browser (Firefox).
console.debug(Screen height = + screen.availHeight); //outputs 770
console.debug(Window Height =+ $(window).height()); //outputs 210 (I am using jQuery as well)
What is the difference between the two? Is 770 in pixels and 210 in mm?
Similarly, when I write $(document).height()
and $(window).height()
, there is a difference. What is the reason?