Cool, 

Thanks

-Geoff

 

  _____  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brandon Aaron
Sent: Friday, July 13, 2007 9:35 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: How to get the entire width of a page

 

Hey Geoffrey,

That is a nasty bug in Firefox but I've recently fixed it! You can grab the
latest from SVN to get the fixes now. I plan on doing a new release very,
very soon.

SVN: http://jqueryjs.googlecode.com/svn/trunk/plugins/dimensions/

--
Brandon Aaron

On 7/13/07, Geoffrey Knutzen < <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]> wrote:

Seems simple. How do I calculate the entire width of a page, even when there
are scroll bars?

 

I am using the dimensions plug in

 

($("html").innerWidth();

$("html").width());

($("body").innerWidth();

$("body").width());

($(document).innerWidth();

$(document).width());

 

All seem to return the same number, at least in FF. 

 

But if there are horizontal scroll bars, they only return the width of the
visible area, not the entire width of the page.

How do I get the entire width of a page?

 

Thanks

 

 

Reply via email to