Javascript showmodaldialog
|
window showmodaldialog
Window. Showmodaldialog Methods
showModalDialog("URL"[, args, "list"]) |
Loads a URL in a modal dialog box. A modal dialog box retains focus while open. The user CANNOT switch windows until the dialog box is closed. The arguments can take the following values:
"URL" - Required. The URL of the document to display.
args - Optional. The arguments to use when displaying the URL. Use this parameter to pass a value of any type, including an array of values. The dialog box can extract the values from the dialogArguments property of the window object.
"list" - Optional. Specifies the window ornaments for the dialog box, using one or more of the following semicolon-delimited values:
dialogHeight : number |
the height* of the dialog window |
dialogLeft : number |
the left position of the dialog window |
dialogTop : number |
the top position of the dialog window |
dialogWidth : number |
the width* of the dialog window |
center : yes | no | 1 | 0 | on | off |
whether to center the dialog window within the desktop. Default is yes |
dialogHide : yes | no | 1 | 0 | on | off |
whether the dialog window is hidden when printing. Only available when a dialog box is opened from a trusted application. Default is no |
edge : sunken | raised |
the edge style of the dialog window. Default is raised |
help : yes | no | 1 | 0 | on | off |
whether the dialog window displays the Help icon. Default is yes |
resizable : yes | no | 1 | 0 | on | off |
whether the dialog window is resizable. Default is no |
scroll : yes | no | 1 | 0 | on | off |
whether the dialog window displays scrollbars. Default is yes |
status : yes | no | 1 | 0 | on | off |
whether the dialog window displays a status bar. Default is yes for untrusted dialog windows and no for trusted dialog windows |
unadorned : yes | no | 1 | 0 | on | off |
whether the dialog window displays the border window chrome. Only available when a dialog window is opened from a trusted application. Default is no |
|
|