Using jQuery To Get Size of Viewport

Posted by Volomike on Stack Overflow See other posts from Stack Overflow or by Volomike
Published on 2010-06-15T11:11:14Z Indexed on 2010/06/15 11:12 UTC
Read the original article Hit count: 202

Filed under:
|
|
|

How do I use jQuery to determine the size of the browser viewport, and to redetect this if the page is resized? I need to make an IFRAME size into this space (coming in a little on each margin).

For those who don't know, the browser viewport is not the size of the document/page. It is the visible size of your window before the scroll.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about resize