window. ShowModalDialog (surl,varguments, sfeatures)
Parameter description:
sURL--Required parameter, which specifies the URL of the document to be displayed by the dialog box. To display the path of the page
varguments-optional parameter, which is used to pass parameters to the dialog box. There are no limits on the types of arguments passed, including arrays. The dialog box uses window.dialogarguments to get the arguments passed in. Parameters passed in
sfeatures--optional parameters, which describe the appearance of the dialog box, can be used one or several, with a semicolon ";" Separated. The appearance of the dialog box that is displayed
center:{Yes| No | 1 | 0 | On | OFF} Center Display
dialoghide:{Yes |No| 1 | 0 | On | Off} Hide dialog box
edge:{Sunken |raised}//Edge
help:{Yes| No | 1 | 0 | On | OFF}
resizable:{Yes |No| 1 | 0 | On | OFF}//Adjustable size
scroll:{Yes| No | 1 | 0 | On | OFF}//scroll bar
status:{Yes| No | 1 | 0 | On | OFF}//status bar
unadorned:{Yes |No| 1 | 0 | On | OFF}//Decoration
The second parameter passes the data and passes the window.dialogarguments on the second page; get
If you are participating in a window, you can call the JS code in the first page
To create a modeless dialog box to display the specified document:
Vreturnvalue = window. showModelessDialog (sURL, varguments, Sfeatures)
JavaScript displays pop-up windows