Kenneth B Kenneth B - 1 year ago 88
Javascript Question

Visible window height instead of $(window).height();

Is there any way to get the visible height of the whole page from inside an

gives me the
s height?

Answer Source

If you are using frames, you can get the height of the outermost window by using in the jQuery constructor. The height of will get the height of the browser window.


Edit: Updated reference as Mozilla moved their documentation around.