[jQuery] Re: strange resize error with $("body").height()

2008-10-02 Thread ricardobeat
That's the way it works. Body or document refers to your page content. The window boundaries don't matter to it, it is always the same size (unless you change it). The body might change size after a page reload if you changed window size though. - ricardo On Oct 2, 6:16 pm, Robert Koberg <[EM

[jQuery] Re: strange resize error with $("body").height()

2008-10-02 Thread Robert Koberg
FWIW, the only thing that updates when you resize a window is window: console.log("body height: ", $("body").height()); console.log("document height: ", $(document).height()); // only one that works console.log("window height: ", $(window).height()); Why is that? -Rob On Oct 2, 2008,