Javascript Reference
Categories: window

javascript window length

@March 15, 2008, 1:22 a.m.
lengthFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM n/a  

Read-only  

Specifies the number of frames (if any) nested within the current window. This value is the same as that returned by window.frames.length. When no frames are defined for the window, the value is zero.

 
Example
 
if (window.length > 0) {
    ...
}
 
Value

Integer.

 
Default

0


Powered by Linode.