javascript window length

lengthNN 6 IE 4 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


2202,Nickname,Homepage or email,Comments here,Add comment