here's the thread with the answer. (thanks david)

http://groups.google.com/group/jquery-dev/browse_thread/thread/1884fa6ed308f40/d44fee44ffb4028f





On Oct 2, 2:33 pm, mundizzle <[EMAIL PROTECTED]> wrote:
> I have a page with content that goes below the fold.
>
> I'm trying to calculate the height of the browser's viewable area this
> way...
>
> $(window).height();
>
> ...but it always returns the height of the whole page (above and below
> the fold) - the same value as $('body').height();
>
> Is this correct behavior?
>
> For now, I'm using $.viewportHeight plugin to get by. I've searched
> the forum, and can only find a couple of vague references to this
> problem with no definitive answer.
>
> Thanks!
> -Mundi

Reply via email to