Re: [jQuery] $(window).height() / .width()

2006-08-18 Thread John Resig
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

[jQuery] $(window).height() / .width()

2006-08-18 Thread Dave Cardwell
$(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 tes