Because a modal dialog box can include a URL to a resource in a different domain, do not pass information through the vArguments parameter that the user might consider private. The vArguments parameter can be referenced within the modal dialog box using the dialogArguments property of the window object. As of Microsoft Internet Explorer 4.0, you can eliminate scroll bars on dialog boxes. Internet Explorer 5 allows further control over modal dialog boxes through the status and resizable values in the sFeatures parameter of the showModalDialog method. 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. This example uses the showModalDialog method to open a customized dialog box. This feature requires Microsoft Internet Explorer 4.0 or later.