270 Part III (Web site construction) . Document Objects Reference To

270 Part III . Document Objects Reference To apply signed scripts to opening a new window with the secure window features, you must enable UniversalBrowserWriteprivileges as you do for other signed scripts (see Chapter 46). A code fragment that generates an alwaysRaised style window follows: You can experiment with the look and behavior of new windows with any combination of attributes with the help of the script in Listing 16-25. This page presents a table of all NN-specific new window Boolean attributes and creates a new 300 300 pixel window based on your choices. This page assumes that if you are using NN4, you have codebase principals turned on for signed scripts (see Chapter 46). Be careful with turning off the title bar and hotkeys. With the title bar off, the content appears to float in space, because absolutely no borders are displayed. With hotkeys still turned on, you can use Ctrl+W to close this borderless window (except on the Mac, for which the hotkeys are always disabled with the title bar off). This is how you can turn a computer into a kiosk by sizing a window to the screen s dimensions and setting the window options to titlebar=no,hotkeys=no, alwaysRaised=yes . Listing 16-25: New Window Laboratory window.open() Options