Well obviously I did try it and I did get different results which lead
me to my conclusion.

Using FF3, I got ~400 for $(window).height and ~3000  for $
(document).height on a test page where the document's height was ~3000

On Oct 21, 6:48 pm, tallvanilla <[EMAIL PROTECTED]> wrote:
> No, they're exactly the same. Try it and let me know if you get
> different results.
>
> JR
>
> On Oct 21, 11:25 am, Ryura <[EMAIL PROTECTED]> wrote:
>
> > Actually, it seems that the document's height is the entire page's
> > height, while the window height is only the viewing height(ie: what
> > you see at that given time).
>
> > On Oct 21, 1:00 pm, tallvanilla <[EMAIL PROTECTED]> wrote:
>
> > > Good question. No difference. Both should give you the exact same
> > > result every time.
>
> > > JR
>
> > > On Oct 21, 1:38 am, jey jey <[EMAIL PROTECTED]> wrote:
>
> > > > what is difference between $(document).height() and $
> > > > (window).height() ?

Reply via email to