javascript window innerHeight, innerWidth
@March 15, 2008, 1:22 a.m.
innerHeight, innerWidth | Firefox/Netscape/NN 4 IE n/a Chrome/Safari/DOM n/a |
Read/Write | |
Specify the pixel measure of the height and width of the content region of a browser window or frame. This area is where the document content appears, exclusive of all window "chrome." For comparable values in IE, see the body element object. |
|
Example | |
window.innerWidth = 600; window.innerHeight = 400; |
|
Value | |
Integer. |
|
Default | |
None. |
Powered by Linode.