That would be really nice - I've been working with some developers who
are going to implement some aspects of this - unless you'd like to
beat them to it.

Honestly, this will have to be a jQuery 1.1 feature. ;) Bugs are a top
priority right now.

--John

On 8/18/06, Dave Cardwell <[EMAIL PROTECTED]> wrote:
> $(window).height() and .width() cause the error "e.style has no properties".
>
> I think it would be preferable to modify .height and .width to handle
> window objects as a special case.
>
> A quick Google suggests using window.innerWidth, or where that is
> undefined document.body.offsetWidth.
>
> I just tested $('html').width() in Firefox 1.5.0.6 and IE6 and it
> returns the width of the window even when $('body').width() is
> explicitly set as lower.  Therefore, I believe $('html').width() would
> be preferable to document.body.offsetWidth.
>
>
> Any chance of this being implemented?  I'd like to use $(window).width()
> and .height() in an update to my jQMinMax plugin.
>
>
> Best wishes,
> Dave Cardwell ~ http://davecardwell.co.uk/
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
John Resig
http://ejohn.org/
[EMAIL PROTECTED]

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to