Mining depth IE browser window function
Related Tags:
This ranking officials and not the ordinary windows, in addition to commonly used window.open () and window.resizeTo () method to open the window, carefully digging, you can find many mysteries in the inside, I will now follow up exploration exploration !
First, continue to anatomy window.open ()
Note: If no special explanation, the following code red tagging is the key code
1, a full-screen window shells Kai
Window.open ( 'http://www.webjx.com', 'example01', 'fullscreen')
My computer screen is an entire website, how kind, is not the flavor of a touch screen? (Fingers involuntarily locations and then).
2, Kai bomb after an F11 window
Window.open ( 'http://www.webjx.com', 'example02', 'channelmode')
This window is similar to the F11 by the browser mode.
3, Kai bomb with a collection of links toolbar window
Window.open ( 'http://www.webjx.com', 'example03', 'width = 400, Height = 300, directories')
Oh, usually a link on the IE toolbars not, and therefore this is not a cold, but perhaps some useful friends, is right when they gave it.
Second, the dialog box window
IE help of the Internet Explorer options on the open window, whether we pay attention to the (Which guy would be silly to this degree?), We can also use the dialog window to achieve, which use to showModalDialog () or showModelessDialog ( )
I am just trying to do more of the type it, there is a more surprising still waiting for you to discover, as showModalDialog () and showModelessDialog () the distinction is showModalDialog () to open the window (window mode), in the home Father window, the father must be closed to access window (recommendation to use to avoid recruiting offensive); showModelessDialog () (non-mode window), opened after having closed the father may also visit the window open window.
Now, I will be here some of the parameters, you listened to me trouble Biexian
DialogHeight: iHeight Settings dialog box window height.
DialogWidth: iWidth Settings dialog box window width.
DialogLeft: iXPos Settings dialog box window relative to the upper left corner of the left desktop location.
DialogTop: iYPos Settings dialog box window relative to the upper left corner of the desktop top position.
Center: (yes | no | 1 | 0) specify whether the dialog box will center on the desktop, the default is "yes."
Help: (yes | no | 1 | 0) specified in the dialog box window Display context-sensitive help icon. The default value is "yes."
Resizable: (yes | no | 1 | 0) specify whether the dialog box window size variable. The default value is "no."
Status: (yes | no | 1 | 0) designated dialog window is a reflection of the status bar. For non-dialog window mode, the default value is "yes" for dialog window mode, the default is "no."
Believe that those who read the above parameters, you will definitely be able to make an imitation help of the IE window, You ~ ~ ~ interesting bar
Third, HTA window
It is the protagonist of the final out to you, perhaps some people are not familiar with the Renkuang also, I simply tell us the full name of HTA html Application, HTML is translated applications, you can simply use. Hta for extension preserve HTML pages even created a HTA documents, as we used to HTA for a window, following this code will be saved as. hta file, and then open my freaking Web browser will be found? Commissioner of buy, to look at themselves.
<HTML>
<HEAD>
<TITLE> Www.webjx.com </ TITLE>
<HTA: APPLICATION id = "oHTA"
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" />
</ HEAD>
<BODY>
<b> Www.webjx.com </ b>
</ BODY>
</ HTML>
Some of these will be found above the html code and peacetime somewhat different, and there is more HTA: APPLICATION labels, and this is key, hta through it to provide a range of application-oriented functions, the next to talk about its attributes ( I am also the first in Expanding)
APPLICATIONNAME attributes (applicationName)
This attribute is the name of HTA settings.
BORDER attributes (border)
This attribute is set to HTA window frame type, default value for thick.
It can be designated as a window for the thick rough borders dialog window for the specified window dialog none specified window borderless thin designated for the narrow window frame BORDERSTYLE attributes (borderStyle)
This attribute is set HTA window frame format, the default value for the normal.
It can be set to normal ordinary frame format complex combination borders raised embossing format 3-D frames protruding static 3D sunken Wajin frame format 3-D frames CAPTION attribute (caption)
This attribute is set HTA window would show that the title bar or title, the default value for yes.
ICON Properties (icon)
This attribute settings for the application icon.
MAXIMIZEBUTTON attributes (maximizeButton)
This attribute settings are displayed in the HTA window maximize button, the default value is yes.
MINIMIZEBUTTON attributes (minimizeButton)
This attribute settings are displayed in the HTA window of the smallest button, the default value is yes.
SHOWINTASKBAR attributes (showInTaskBar)
This attribute settings are displayed in the task bar this application, the default value is yes.
SINGLEINSTANCE attributes (singleInstance)
This attribute is set for this application can only run one at the same time. APPLICATIONNAME attribute to the property as a logo, the default value is no.
SYSMENU attributes (sysMenu)
This attribute settings are displayed in the HTA window system menu, the default value for yes.
VERSION properties (version)
This attribute settings for the application version, the default value is empty.
WINDOWSTATE attributes (windowState)
HTA set up this property for the initial window size, defaults to normal.
It can be set to normal default size of the smallest maximize maximize minmize
In brackets above in the script quoted attributes. In the script were read-only attribute in the above attributes. In addition, the script can also use the commandLine attributes retrieval application startup parameters.
In HTA also can continue to use the vast majority of html tags, scripts, etc..
Well, our adventure on the end of this, do you wish particularly unfinished feel? In fact, writing this article is to hit a抛砖引玉role, and more content you also need to continue to experiment to study, if the "Amoy" to what good things can not forget disclosed oh.
- Depth CSS2.0 structure, return div, span the confusion!
- Flash AS advanced knowledge: in-depth understanding of Function
- JScript in-depth study grammar - constants and variables
- Based on JMX notification framework for AJAX-depth development
- Depth understanding of the history and development of RSS
- CSS in-depth understanding of the display: inline-block attributes
- CSS succession of in-depth analysis (2)
- Flash ActionScript Learning: conditional statements in-depth study
- Mining depth IE browser window function
- Learning Flash: depth understanding setInterval method
- Heavy javascript function to achieve in-depth exploration
- CSS succession of in-depth analysis (3)
- CSS priority of the in-depth analysis (2)
- AJAX-depth understanding of the treatment response information
- High-depth understanding of ActionScript skills
- CSS in-depth analysis of priority (1)
- Flash AS Learning: Movie Clip Depth on the (depth) issues
- CSS succession of in-depth analysis (1)
- Web design skills of the three standard layout depth
- How to correctly understand _ root / _level / depth of the relationship




