The Internet Explorer Object Model
The Internet Explorer Object Model
Window
Frame
History
Link
Anchor
Form
Element
Window
Is the top most level of the hierarchy Is parent to all subsequent objects Acts as a container for all other objects Forms the core of Internet Explorer Syntax:
Parentobject.childobject.property=somevalue
Example window.document.bgcolor=red
Methods
Are predefined actions Window object methods are: Alert, prompt, confirm, open, close, SetTimeOut, ClearTimeOut, navigate Syntax for open method: [New_win_name]=[window.]open url, target, [toolbar=bool] [,menubar=bool] [,scrollbar=bool][,resizable=bool][,width=pixel s][,height=pixels][,top=pixels][,left=pixels]
Frames
is used to manage frames and windows. Properties:
All as in window
Events:
none
Events
None.
Methods
None.