Hi Jeffrey,
I took a look at your page, and the only thing that is off for me (in
FF 2.0.x Mac) is the $(document).width() and $('body').width() -- and
that's because of a bug in FF that had a hack in Dimensions to work
around it, which didn't go into core because it was too "hackish."
Shouldn't the $('body').width() and $('body').height() values be the
same as the $(document).width() and $(document).height() values? I
guess I assumed that $('body') and $(document) height and width
should be equivalent, measuring the entire document's dimensions (the
part that is within the <body> tags) including any part that is out
of view -- as opposed to $(window) dimensions, which should only
return values for the viewable area. But maybe I'm misunderstanding
something?
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Oct 21, 2007, at 1:02 PM, Jeffrey Kretz wrote:
Karl,
Thanks much, rebuilding jquery from the latest SVN solved the
window dimensions. The document.body height is still off,
however. If you could take a look at this page again:
http://www.scorpiontechnology.com/Cobalt/windowtest.htm
The body width is correct – it matches the inside dimensions of
the body (not including the scrollbar). However the body height
still stays static at the full document height. Is this an easy fix?
JK
From: jquery-en@googlegroups.com [mailto:jquery-
[EMAIL PROTECTED] On Behalf Of Karl Swedberg
Sent: Friday, October 19, 2007 6:50 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Getting window portal size in 1.2.1
Hi Jeffrey,
This was a known issue. Something to do with the migration of that
piece of Dimensions into core. It's fixed in SVN now.
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com