When I use $(window).height() with Dimensions 1.2, it doesn't give me the height of the viewable part of the document. Instead I get the same number as for $(document).height(), i.e. the total height of everything in the document, including off-screen parts.
Is this a bug or am I using it wrong? I get the same behavior on Firefox 2 and IE7. How do I get the height of the visible part of the document with jQuery?