Window.ShowModalDialog User Manual

zhaozj2021-02-16  71

Window.ShowModalDialog User Manual

Basic introduction: ShowModalDialog () (IE 4 Support) ShowModelessDialog () (IE 5 Support) WINDOW.SHOWMODALDIALOG () method is used to create a modal dialog that displays HTML content. WINDOW.SHOWMODELESSDIALOG () method is used to create a non-modular dialog that displays HTML content. How to use: vreturnValue = WINDOW.SHOWMODALDIALOG (SURL [, Varguments] [SFEATURES]) VRETURNVALUE = WINDOW.SHOWMODELESSDIALOG (SURL [, Varguments] [SFEATURES]) Parameter Description: SURL - Required parameters, Type: String. The URL of the document to specify the dialog to display. Varguments - Optional parameters, type: variants. Used to deliver parameters to the dialog. Parameters passing are not limited, including arrays, and more. The dialog box has obtained the passing parameters via Window.Dialogarguments. SFEATURES - Optional Parameters, Type: String. The information used to describe the appearance of the dialog box can use one or several of the following, separated by a semicolon ";". ---------------- 1. Dialogheight: dialog Height, not less than 100px2. DialogWidth: dialog width. 3. Dialogleft: The distance from the left on the screen. 4. Dialogtop: Distance from the screen. 5. Center: {yes | no | 1 | 0}: Whether to hit, default Yes, but still specify the height and width. 6. Help: {yes | no | 1 | 0}: Whether to display the help button, default YES. 7. Resizable: {YES | NO | 1 | 0} [IE5 ]: Whether it can be changed. Default NO. 8. Status: {yes | no | 1 | 0} [IE5 ]: Whether the status bar is displayed. The default is YES [Modeless] or no [modal]. 9. Scroll: {yes | no | 1 | 0 | ON | OFF}: Whether the scroll bar is displayed. Default is YES.

The following attributes are used in HTA, which is generally not used in a general web page. 10. DialoGHide: {YES | NO | 1 | 0 | ON | OFF}: The dialog box is hidden when printing or printing preview. The default is NO. 11. Edge: {Sunken | Raised}: Indicates the border style of the dialog. Default is raised. 12. Unadorned: {yes | no | 1 | 0 | ON | OFF}: The default is NO.

转载请注明原文地址:https://www.9cbs.com/read-12986.html

New Post(0)