How to use the web page to pop up a variety of forms of window, I think most of them are all known, but how many diverse pop-up windows come out, we will learn today: 1. Punch a full screen window www.e3i5.com
2. Punched a window after the F11; www.e3i5.com 3. Punched a window with a collection link toolbar WWW.E3i5.com 4.Web page dialog
script> www.e3i5.com
script> http://www.it365cn.com ShowModalDialog () or showmodelessDialog () to call the web dialog, as for the difference between ShowModalDialog () and ShowModelessDialog (), window (referred to as a mode window) Place on the parent window, must be turned off to access the parent window (recommended as little as possible, so as not to recruit the resentment); ShowModelessDialog () (not shown), you do not have to turn off the window to open the parent window after opening. Dialogheight: IHEIGHT Set the height of the dialog window. DialogWidth: iWidth Set the width of the dialog window. Dialogleft: The IXPOS Settings dialog window is relative to the LEFT location in the upper left corner of the desktop. Dialogtop: The iYPOS Settings dialog window is relative to the top position in the upper left corner of the desktop. Center: {YES | NO | 1 | 0} Specifies whether to place the dialog on the desktop, the default value is "Yes". Help: {YES | NO | 1 | 0} Specify whether the context-sensitive help icon is displayed in the specified dialog window. The default is "yes". Resizable: {yes | no | 1 | 0} Specifies whether the dialog window can change. The default is "no". Status: {yes | no | 1 | 0} The specified dialog window displays the status bar. For non-mode dialog windows, the default value is "YES"; for the mode dialog window, the default value is "no". 5.HTA window HTA's full name is HTML Application, translated is an HTML application, you only use .hta to save the HTA file for the extension of the HTML page, let's create a window with HTA, The following code is saved as .hta file, then open it with the browser. Www.e3i5.com
ApplicationName = "myApp"
Border = "thin"
BorderStyle = "Normal"
CAPTION = "YES"
Icon = "filename.ico"
MaximizeButton = "yes"
MinimizeButton = "yes"
Showintaskbar = "no"
Ingleinstance = "no"
Sysmenu = "yes"
Version = "1.0"
WindowState = "Normal" />
http://www.it365cn.com
Some people will find that the above code is a bit different from the usual HTML, and the HTA: Application tag, this is the key, HTA provides a series of applications, and then tells its properties (I The head is in turn) ApplicationName attribute (ApplicationName)) APPLICATIONNAME
This property is the name of the HTA.
Border attribute (Border)
This property is a window border type set to HTA, and the default is thr.
It can be set to this designation window as a thick box
Dialog WINDOW Specify window for dialog
None Specify window boundless box
Thin Specifies the window as a narrow border
BorderStyle property (BorderStyle)
This property is a border format setting the HTA window, the default value is Normal.
It can be set to
Normal ordinary border format
Complex aggregation format combination border
Raised convex 3D border
Static 3D Border Format
Sunken concave 3D border
Caption property (CAPTION)
This property is setting the title bar or title in setting an HTA window, the default value is YES.
Icon property (icon)
This property is an icon for setting an application.
MaximizeButton property (maximizebutton)
This property is set to the maximum button in the HTA window, and the default value is YES.
MinimizeButton properties (MinimizeButton)
This property is setting the minimization button in the HTA window, the default value is YES.
ShowIntaskbar attribute (showintaskbar)
This property is set to set whether this app is displayed in the taskbar, the default value is YES.
SINGLEINSTANCE attribute (SingleInstance)
This property is only available at the same time. The secondary attribute as an applicationName property as an identifier, the default value is NO.
SYSMENU attribute (Sysmenu)
This property is setting the system menu in the HTA window, the default value is YES.
Version property (Version)
This property is a version of the application, the default value is empty.
WindowState properties (WindowsTate)
This property is the initial size of the HTA window, the default value is Normal.
It can be set to Normal default size
MinMize minimizes
Maximize maximizes
The above parentheses is attributes referenced in the script. All the above properties in the script are read-only properties. In addition, you can also use the CommandLine property in the script to retrieve the parameters when the application starts.
Most tags, scripts, etc. in HTML can be continued in HTA.