NOTE : The following topics are a very condensed paraphrasing of various documentation provided by Microsoft and Netscape. Highly detailed and complete documentation of JavaScript (version 1.0 as supported by Navigator v2.0 and version 1.1 as supported by Navigator v3.0) can be found at the Netscape Web site at http://www.netscape.com and documentation of Visual Basic Script (and JScript, Microsoft's JavaScript implementation) can be found in Microsoft's ActiveX SDK and at their Visual Basic Script web site http://www.microsoft.com/vbscript/ and their JScript web site at http://www.microsoft.com/jscript/.
The following topics are basically an object quick reference and should not be treated as any kind of replacement for the documentation provided by either Microsoft or Netscape. Indeed, readers interested in scripting HTML documents are encouraged to seek out the 'official' documentation from both companies.

For scripting purposes, practically every part of the browser and HTML document can be treated as a discrete object that has several properties and methods that can be accessed and invoked respectively. The hierarchy is as follows :

Window
.Frame
.History
.Navigator
.Location
.Document
.Link
.Anchor
.Form
.Element
.Image (Netscape
only)

There are other objects that are accessible through script functions, but the above objects represent all of the 'parent' objects (though some are 'children' of other objects). All other objects are subsidiary to the above objects and will be documented on the relevant parent object pages.


Scripting the <IMG> element Scripting Reference Overview The Window Object