The dimensions plugin extends the built-in height and width methods to work
on the window and document. You can use them like this:

$(window).width() or $(window).height()
$(document).width() or $(document).height()

http://jquery.com/plugins/project/Dimensions

--
Brandon Aaron

On 6/8/07, moazzamk <[EMAIL PROTECTED]> wrote:


Hi,

Does anyone know how to get the height and width of a window. In
Firefox, I can do this.innerHeight and it wil show it but it requires
a lot of code in IE. If anyone can tell me how to do it with jquery,
I'd really appreciate it.

Thanks,
Moazzam


Reply via email to