A modal dialog box retains the input focus while open. The user cannot switch windows until the dialog box is closed. Because a modal dialog box can include a URL to a resource in a different domain, do not pass information through the varArgIn parameter that the user might consider private. As of Microsoft Internet Explorer 4.0, you can eliminate scroll bars on dialog boxes. These applications are considered to be trusted because they use Internet Explorer interfaces instead of the browser.
Any dialog box generated from a trusted source has the status bar turned off by default.
To define multiple font values, use multiple font attributes. For consistent results, specify the dialogHeight and dialogWidth in pixels when designing modal dialog boxes. Although a user can manually adjust the height of a dialog box to a smaller value provided the dialog box is resizable the minimum dialogHeight you can specify is 100 pixels. Examples Below is an extended version of the above script, which demonstrates many of the features available for creating a custom dialog box. This feature requires Microsoft Internet Explorer 4.0 or later.