resize - Using jQuery To Get Size of Viewport -
How can I use jQuery to determine the size of the browser viewport, and if the page has been resized So to get it back? I need to make this IFRAM size in this space (each margin is coming slightly).
People who do not know, the browser viewport is not the size of the document / page. It is the visible size of your window before scrolling.
To get the width and height of the viewport:
var Viewportwidth = $ (window). With (); Var vorteights = $ (window). height ();
Resize the position of the page:
$ (window). Resize (function () {});
Comments
Post a Comment