Javascript Reference
Categories: FRAME

javascript FRAME height, width

@April 4, 2009, 2:37 a.m.
height, width Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

 

Read-only  

Return the height and width in pixels of the frame. Dimensions include frame chrome (scrollbars). Adjust a frame's size via the frameset object's rows or cols properties.

 
Example
 
var frHeight = parent.document.getElementById("myFrame").height;
 
Value

Integer.

 
Default

Current height and width.


Powered by Linode.