Production of full-page pop-up window Raiders!

2010-11-18  来源:本站原创  分类:Web  人气:114 

How to use various forms of Web pop-up window, I think we mostly know about, but that a variety of pop-out window is how do we learn about today:

1. Playing a full screen window Kai

<html>
<Body onload = "window.open (' http://www.black-xstar.com ',' example01 ',' fullscreen');">;
<b> www.black-xstar.com </ b>
</ Body>
</ Html>

2. Bomb after the start of a window is F11

<html>
<Body onload = "window.open ('' http://www.black-xstar.com ',' example02 ',' channelmode');">;
<b> www.black-xstar.com </ b>
</ Body>
</ Html>

3. Shells start with a collection of the window the Links toolbar

<html>
<Body onload = "window.open (' http://www.black-xstar.com ',' example03 ',' width = 400, height = 300, directories');">
<b> www.black-xstar.com </ b>
</ Body>
</ Html>

4. Page dialog box

<html>
<SCRIPT LANGUAGE="javascript">
<! -
showModalDialog (' http://www.black-xstar.com ',' example04 ',' dialogWidth: 400px; dialogHeight: 300px;
dialogLeft: 200px; dialogTop: 150px; center: yes; help: yes; resizable: yes; status: yes')
//-->
</ SCRIPT>
<b> www.black-xstar.com </ b>
</ Body>
</ Html>

<html>
<SCRIPT LANGUAGE="javascript">
<! -
showModelessDialog (' http://www.black-xstar.com ',' example05 ',' dialogWidth: 400px; dialogHeight: 300px;
dialogLeft: 200px; dialogTop: 150px; center: yes; help: yes; resizable: yes; status: yes')
//-->
</ SCRIPT>
<b> http://www.black-xstar.com </ b>
</ Body>
</ Html>

showModalDialog () or showModelessDialog () to invoke the Web dialog box, as showModalDialog () and showModelessDialog () the difference is that showModalDialog () to open the window (referred to as model window), set in the parent window must be closed in order to access the parent window (recommended as little as possible to avoid hiring offensive); showModelessDialog () (referred to as non-modal window), opens not to close the parent window can also visit the open windows.

dialogHeight: iHeight set the dialog window height.
dialogWidth: iWidth Settings dialog box of the window width.
dialogLeft: iXPos Settings dialog window relative to the upper left corner of the left position of the desktop.
dialogTop: iYPos set the upper left corner of the dialog window relative to the desktop, the top position.
center: {yes | no | 1 | 0} Specifies whether the dialog is centered on the desktop, the default value is "yes".
help: {yes | no | 1 | 0} Specifies whether the dialog window displays context-sensitive help icon. The default value is "yes".
resizable: {yes | no | 1 | 0} Specifies whether the dialog window size variable. The default value is "no".
status: {yes | no | 1 | 0} Specifies whether the dialog window displays the status bar. For non-modal dialog window, the default value is "yes"; for the modal dialog window, the default is "no".

Reference: http://www.black-xstar.com/blog/13.html

相关文章
  • Open the page a new window 2008-06-30

    Preface: the project called for a single order to re-open the window and perform printing functions, I have way to open the page to the search function a bit, leaving for future reference. Window.Open Xiangjie 1, window.open () support environment: J

  • The production of error-handling page 404, and 500 2011-01-11

    The production of error-handling page 404, and 500 Add the following code in web.xml file copied to the clipboard Print View <error-page> <error-code> 404 </ error-code> <location> / building.jsp </ location> </ Error-page

  • Click the link list of a field, in the current page pop up a window for more information 2010-08-31

    First of all, it first posted the code page <link href="../css/core.css" type="text/css" rel="stylesheet"/>// Pop style <script src="../js/popup_layer.js" type="text/javascript" ></script>

  • Production of full-page pop-up window Raiders! 2010-11-18

    How to use various forms of Web pop-up window, I think we mostly know about, but that a variety of pop-out window is how do we learn about today: 1. Playing a full screen window Kai <html> <Body onload = "window.open (' http://www.black-xsta

  • Page bombs java window function 2010-12-31

    1, the basic pop-up window [code] ---------------------------------------- ---------------------------------------- In fact, the code is very simple: <SCRIPT LANGUAGE="javascript"> <!-- window.open ('page.HTML') --> </SCRIPT> B

  • JS pop (DIV) window semi-transparent background 2010-03-08

    <script type="text/javascript" language="javascript"> function sAlert () ( var str = "test pop effect trybb.com"; var msgw, msgh, bordercolor; msgw = 400; / / prompt the width of the window msgh = 100; / / prompt the he

  • Lower right corner of the page pop-up message window js implementation 2010-06-24

    <! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN"> <HTML> <HEAD> <TITLE> New Document </ TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author&q

  • JS pop (DIV) window, the background for the semi-transparent 2009-05-11

    <script type="text/javascript" language="javascript"> function sAlert () ( var str = "test shell window effect trybb.com"; var msgw, msgh, bordercolor; msgw = 400; / / prompt the width of the window msgh = 100; / / prom

  • web page, close the window, press ESC 2010-10-28

    <script language="javascript" type="text/javascript"> document.onkeypress = function esckey () { if (event.keyCode == 27) / / click on "ESC" key { var message = window.confirm ("Do you want to close this form? clic

  • discuzx the production of single page 2011-05-26

    7.2 versions prior to the time to write a tutorial making a single page divided into columns with and without side sidebar, many owners have learned to produce their own under the tutorials page. X version of the one-page fact, produced no different

  • Production techniques nine Javascript pop-up window (to) 2010-10-23

    Regular Internet friends may have been to so some sites, entered the home will immediately pop up a window, or press a link or button to pop up, usually in the window displays the number of notes, copyright information, warning, welcome to patronize

  • [Essence] Window.Open () page pop-up window Daquan 2010-11-16

    [1, the basic code blocks pop-up window <!--< Br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware) <br /> http://www.CodeHighlighter.com/ <br /> <br /> -> <SCRIPT LANGUAGE = "javascript&

  • To obtain the page size using Javascript. Window size and position of scroll bars 2009-02-16

    Page size, window size and scroll bars position of these three values in different browsers such as Firefox and IE, have different implementations. Even in the same IE browser, for example, different versions have different implementations. In this p

  • Get page size using Javascript. Window size and scroll bar position 2010-03-09

    Page size, window size and scroll bar position of these three values in different browsers such as Firefox and IE has a different implementation. Even in the same browser, such as IE, there are different versions of different implementations. In this

  • JS frame child window will be stored in the contents of the div in the parent page 2010-10-11

    / / Index.htm <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title> New Page 1 </ title> <script language="javascript"> function getFrameBody () { / / C

  • window.open () a list of all the parameters 2010-04-11

    Preface: Regular access to the Internet so people may have been to some websites, one into the home will immediately pop up a window, or press a link or button to pop up, usually in this window will show a few notes, copyright information, warning, w

  • Turn: javascript pop-up window code complete 2010-01-04

    How to use various forms of Web pop-up window, I think we mostly know more, but that a wide range of pop-up window out how the practice, we today learn about: 1. Shells Kai a full-screen window <html> <body onload="window.open('http://www.ku

  • The use of javascript code to set your browser IE / FIREFOX pop-up window 2008-05-22

    [1, the basic code for pop-up window] Because the book is a javascripts codes, so they should be placed <script language="javascript"> tag and </ script> between. "! - And -" is a low number of versions of the browser work,

  • window.open parameters 2008-09-20

    window.open parameters completely manual [1, the basic code for pop-up window] <SCRIPT LANGUAGE="javascript"> "! -- window.open ( 'page.html') - " </ SCRIPT> Because the book is a javascripts codes, so they should be placed

  • Code Complete, javascript pop-up window 2010-04-09

    1. Shells Kai a full-screen window <html> <body onload="window.open('http://www.kunde58.com','example01','fullscreen');">; <b> www.kunde58.com </ b> </ Body> </ Html> 2. Shells of Kai after a window is F11 <