Which version of jQuery are you using? Dimensions 1.2 no longer has the width/height methods as they have been moved to the core. This sounds like a familiar issue in jQuery 1.2.1/2 but was fixed in jQuery 1.2.3.
-- Brandon Aaron On Sun, Apr 27, 2008 at 1:06 PM, HertzaHaeon <[EMAIL PROTECTED]> wrote: > > 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? >