Document.frames[] (Collection)

An array containing references to all the frame objects within a document.


JScript - 3.0
Internet Explorer - 4.0
Opera - 5.0
Property/method value type:Frames object
JavaScript syntax:IEmyDocument.frames
HTML syntax:<FRAME>

In the MSIE browser, you can define in-line frames with the <IFRAME> tag. The frame property of a document contains a reference to a Frames object which is a collection of Frame or Window objects that enumerate the child frames within the current document.

Aside from the fact that the frame inlined into the HTML and can appear like an image embedded in the text, in all other respects it is like <FRAME> in a <FRAMESET> and is instantiated as a Window object.

To locate the objects representing these in-line frame, use the normal DOM navigation techniques based on object ID values and collections belonging to the document.


See also:Document object, Frame object, Frames object, Window object, Window.frames[]

Property attributes: