CD-258 Part VI . Appendixes dialogLeft dialogTop NN2 (Web server extensions)
CD-258 Part VI . Appendixes dialogLeft dialogTop NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Although usually not a good idea because of the potentially jarring effect on a user, you can reposition a dialog box window that has been resized by script (or by the user if you let the dialog box be resizable). The following statements in a dialog box window document s script recenters the dialog box window. dialogLeft = (screen.availWidth/2) - (parseInt(dialogWidth)/2) + px dialogHeight = (screen.availHeight/2) - (parseInt(dialogHeight)/2) + px Note that the parseInt()functions are used to read the numeric portion of the dialogWidth and dialogHeightproperties so that the values can be used for arithmetic. directories locationbar menubar personalbar scrollbars statusbar toolbar NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example In Listing 16-6, you can experiment with the look of a browser window with any of the chrome elements turned on and off. To run this script, you must either sign the scripts or turn on codebase principals (see Chapter 46). Java must also be enabled to use the signed script statements. windowObject.directories
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision J2ee Web Hosting services.