Zitat:
The
DOM is organized as a hierarchy of browser components. At the top-most level is the browser (navigator) object. At the next level down the hierarchy is the window object, the main browser window within which Web pages appear. Within the window are optional frame objects (if the window is divided into frames), and these window and frame objects contain the document objects representing Web pages. The page itself contains other objects, including XHTML tag objects and form objects, the latter composed of the various field objects, or controls, populating the form. This general hierarchy is shown in the illustration below, which identifies several of the objects comprising the Document Object Model for Web pages displayed in frames.
Danach ist "window" ein
DOM-Object, das nichts mit herkömmlichen Javascript zu tun hat. Und jetzt geh ich schlafen