382Part IIIDocument Objects ReferenceFigure 16-4:Property readouts from both (Web server)

382Part IIIDocument Objects ReferenceFigure 16-4:Property readouts from both frames loaded from Listing 16-7. historyValue:Object.Read-OnlyCompatibility:WinIE3+, MacIE3+, NN2+, Moz1+, Safari1+ (See the discussion of the historyobject in Chapter 17.) innerHeightinnerWidthouterHeightouterWidthValue:Integer.Read/Write (see text) Compatibility:WinIE-, MacIE-, NN4+, Moz1+, Safari1+ NN4+ lets scripts adjust the height and width of any window, including the main browserwindow by setting properties. This adjustment can be helpful when your page shows itselfbest with the browser window sized to a particular height and width. Rather than relyingonthe user to size the browser window for optimum viewing of your page, you can dictatethe size of the window (although the user can always manually resize the main window). Andbecause you can examine the operating system of the visitor via the navigatorobject(seeChapter 38 on the CD-ROM), you can size a window to adjust for the differences in fontand form element rendering on different platforms. windowObject.history

Leave a Reply