mô hình đối tượng ban đầu đã đạt được không chỉ có một số trình duyệt qua tính năng hữu ích, nhưng cũng có một loạt các tính năng được duy nhất để chỉ Navigator hoặc Internet Explorer. Các mô hình đối tượng được phân kỳ, | Chapter 16 Window and Frame Objects 427 Netscape-only signed scripts Many NN-specific attributes are deemed to be security risks and thus require signed scripts and the user s permission before they are recognized. If the user fails to grant permission the secure parameter is ignored. A couple of these attributes have different behaviors on different operating system platforms due to the way the systems manage their application windows. For example the alwaysLowered alwaysRaised and z-locked styles can exist in layers that range behind Navigator s own windows in the Windows platform on the Mac however such windows are confined to the levels occupied by Navigator. The difference is that Windows allows windows from multiple applications to interleave each other while the Mac keeps each application s windows in contiguous layers. To apply signed scripts to opening a new window with the secure window features you must enable UniversalBrowserWrite privileges as you do for other signed scripts see Chapter 46 . A code fragment that generates an alwaysRaised style window follows SCRIPT LANGUAGE JavaScript ARCHIVE ID 1 function newRaisedWindow UniversalBrowserWrite var newWindow HEIGHT 10Q WIDTH 3QQ alwaysRaised UniversalBrowserWrite var newContent HTML BODY B On top of spaghetti B newContent FORM CENTER INPUT TYPE button VALUE OK newContent onClick X CENTER FORMX BODYX HTML newContent SCRIPT 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 X 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 .