373Chapter 16Window and Frame Objectscryptopkcs11Values:Object references.Read-OnlyCompatibility:WinIE-, MacIE-, NN6+, (Vps web hosting)

373Chapter 16Window and Frame Objectscryptopkcs11Values:Object references.Read-OnlyCompatibility:WinIE-, MacIE-, NN6+, Moz1+, Safari- The cryptoand pkcs11properties return references to browser objects that are relevant tointernal public-key cryptography mechanisms. These subjects are beyond the scope of thisbook, but you can read more about Netscape s efforts on this front at http://www.mozilla.org/projects/security/. defaultStatusValue:String.Read/WriteCompatibility:WinIE3+, MacIE3+, NN2+, Moz1+, Safari1+ After a document is loaded into a window or frame, the status bar s message field can displaya string that is visible any time the mouse pointer is not atop an object that takes precedenceover the status bar (such as a link object or an image map). The window.defaultStatusproperty is normally an empty string, but you can set this property at any time. Any setting ofthis property will be temporarily overridden when a user moves the mouse pointer atop alink object (see window.statusproperty for information about customizing this temporarystatus bar message). Probably the most common time to set the window.defaultStatusproperty is when adocument loads into a window. You can do this as an immediate script statement thatexecutes from the Head or Body portion of the document or as part of a document s onloadevent handler. ExampleUnless you plan to change the default status bar text while a user spends time at your Webpage, the best time to set the property is when the document loads. In Listing 16-5, noticehow I also read this property to reset the status bar in an onmouseoutevent handler. Settingthe statusproperty to empty also resets the status bar to the defaultStatussetting. Listing 16-5: Setting the Default Status Message Microsoft

Mozilla

windowObject.defaultStatus

Leave a Reply