Introduction | How to use the Web page pop-up various forms of windows, I think we are mostly know some, but that a variety of pop-up window is how to get out, we today to learn:
1. Bounce a full-screen window
<body >;
<b>www.e3i5.com</b>
</body>
2. Restart a F11 window
<body >;
<b>www.e3i5.com</b>
</body>
3. Bounce a window with the Favorites Link toolbar
<body >
<b>www.e3i5.com</b>
</body>
4. Web Page dialog box
<script language= "JavaScript" >
<!--
ShowModalDialog (' http://www.pconline.com.cn ', ' example04 ', ' dialogwidth:400px;dialogheight:300px;
Dialogleft:200px;dialogtop:150px;center:yes;help:yes;resizable:yes;status:yes ')
-->
</SCRIPT>
<b>www.e3i5.com</b>
</body>
<script language= "JavaScript" >
<!--
showModelessDialog (' http://www.pconline.com.cn ', ' example05 ', ' dialogwidth:400px;dialogheight:300px;
Dialogleft:200px;dialogtop:150px;center:yes;help:yes;resizable:yes;status:yes ')
-->
</SCRIPT>
<b>http://www.pconline.com.cn</b>
</body>
ShowModalDialog () or showModelessDialog () to invoke the Web Page dialog, the difference between ShowModalDialog () and showModelessDialog () is ShowModalDialog ( Open window (short mode window), placed on the parent window, must be closed in order to access the parent window (recommended as little as possible, so as not to be annoying); showModelessDialog () (for short, modeless window), open without having to close or access the window opened by the parent window.
Dialogheight:iheight sets the height of the dialog box window.
Dialogwidth:iwidth sets the width of the dialog box window.
Dialogleft:ixpos sets the left position of the dialog window relative to the upper-right corner of the desktop.
Dialogtop:iypos sets the top position of the dialog window relative to the upper-left corner of the desktop.
Center: {yes | no | 1 | 0} Specifies whether the dialog box is centered on the desktop, and the default value is yes.
Help: {yes | no | 1 | 0} Specifies whether the context-sensitive aid icon is displayed in the dialog box window. The default value is yes.
Resizable: {yes | no | 1 | 0} Specifies whether the dialog box window is variable in size. The default value is "no".
Status: {yes | no | 1 | 0} Specifies whether the dialog box window displays the status bar. For modeless dialog windows, the default value is Yes, and for modal dialog windows, the default is "no".