Window height is depend upon window resolutin $(window).height returns
the height of your window. Window height canâ€™t change according page height.
But document height is depend upon page height if page
height increased document height will be increased. Document height includes
everything below or above. It is return document height.