Window.length (Property)

The number of frames in the window.

Availability:

JavaScript - 1.0
JScript - 3.0
Internet Explorer - 4.0
Netscape - 2.0
Opera - 3.0
Property/method value type:Number primitive
JavaScript syntax:-frames.length
-length
-myWindow.frames.length
-myWindow.length

The same value as the window.frames.length property.

This property is maintained in MSIE for consistency with Netscape Navigator. The frames in MSIE are contained in a FrameArray object, but this does not prevent their names polluting the property namespace of the Window object.

See also:Collection.length, Frame object, length, Window object

Property attributes:

ReadOnly.

insert figure 0060