
| 
| 
|
The frame object is a convenience for thinking about the objects that constitute these frames.
However, javascript actually represents a frame using a window object. Every frame object is a window object, and has all the methods and properties of a window object.
There are a small number of minor differences between a window that is a frame and a top level window:
For a top level window, the parent and top properties are references to the window itself. For a frame, the top refers to the top most browser window, and parent refers to the parent window of the current window.
|
|

|

|