Skills
frame window is a complex page technology, the Application frame window allows users to browse the contents of different Web sites in the same browser window, you can send query commands in a small window and receive query results in another small window. The idea of
Friends who frequently access the Internet may have visited such websites. when they enter the home page, a window appears, or a connection or button is clicked, this window usually displays some precautions, copyright information, warnings, visits, and other information that the author wants to remind him. in fact, it is very easy to make such a page. You only need to add several JavaScript codes to the
Exploration on the height of the browser window, document, html, and body, windowbody
First, describe the calculation of the elements I understand.
Windows height should be the overall height of the document window (if there are no scrolling entries on the browser, calculate document.doc umentElement. clientHeight
The document height should be the document conten
First of all, I understand the calculation of these several elementsThe window height should be the visible height of the document's Windows (not including the browser's scroll bar), and the calculation method document.documentElement.clientHeightDocument height should be the height of the file content, calculation method Math.max (document.body["ScrollHeight"], document.documentelement["scrollheight"])The HTML
Use frameset to frame the window and build a simple background page. This blog is as a simple background management page of the actual combat drill.1 First, you need a page, using Give each The code is as follows (the file name is custom, I write frameset.html):2 We need to specify a different URL in three frames, we need to write several HTML files: head.html; menu.html;menu1.
Detailed description of the window object and document Object in HTML, windowdocument
Window -- indicates an opened Window in the browser:
Object AttributesWindow // window itselfWindow. self // reference this window =
HTML help enables users to use a tool bar, view directories, and help topics in one of the helping Windows. Currently, there are two ways to create a tri-pane type of HTML Help window:
Create a window using HTML help Workshop
Using the
HTML help enables users to use a tool bar, view directories, and help topics in one of the helping Windows. Currently, there are two ways to create a Tri-pane type of HTML Help window:
Create a window using HTML Help Workshop
Using the
1. Why use multiple windows ??
The HTML file designed with the frames structure can divide the entire window into several independent small windows, each of which can load different files separately. Fortunately, each window can communicate with each other.
Ii. Multiple windows
(1). Basic Structure
...
(2). Window Size
HTML is a Hypertext Markup language;The Document object represents the entire HTML document and can be used to access all the elements in the page;Body represents the principal sub-object of document, except the browser head, the content that can be seen in the page belongs to the body content;Windows represents an open window in the browser that represents the r
The Mode window provided by IE has a very good application in the data input window and Wizard functions. However, due to some security restrictions, debugging scripts in the modal window becomes very depressing. Because the modal window does not support object selection and context menu, it is inconvenient for us to v
This article describes how to use HTML 5 window. postMessage to implement cross-origin communication. For more information about cross-origin communication, see cross-origin communication. Of course, there are also many solutions:
1.doc ument. domain + iframe settings apply to the same primary domain but different subdomains;
2. Using iframe and location. hash, the data is directly exposed to the url, and t
Mutual access between variables in the HTML parent window and IFRAME
1. Access variables or functions in IFRAME in the HTML parent window
In the parent window script, write:
// Call variable assignment
IframeObj. contentWindow. someVar = "test is OK ";
// Call a functio
triggeredDocument.body.onmouseover= "func ()"//mouse pointer is triggered when moving to an objectDocument.body.onmouseout= "func ()"///mouse pointer is triggered when the object is moved out
location-Position Sub-object
Document.location.hash//#号后的部分Document.location.host//domain + port numberDocument.location.hostname//Domain nameDocument.location.href//Full URLDocument.location.pathname//directory sectionDocument.location.port//Port numberDocument.location.protocol//Network Pro
ShowModalDialog (),ShowModelessDialog ()Detailed usage
Javascript has many built-in methods to generate a dialog box, such as window. alert (), window. confirm (), window. prompt. However, IE provides more methods to support the dialog box. For example:
ShowModalDialog () (IE 4 + supported)ShowModelessDialog () (IE 5 + supported)
The
This problem is too big for me, and I cannot understand the explanations provided by Baidu. It should be the reason why I am too white. I hope I can understand it well.
In the following articles, Windows 1, 2, and 3 are displayed in the Code: chuangkou, chuangkou1, and chuangkou2.
The following is a simple html framework structure I have created:
To create this webpage, you need eight html files, which
be based on their own content to achieve vertical center, the main CSS code is as follows:. center{ width:50%; Position:absolute; top:50%; left:50%; -moz-transform:translate ( -50%, -50%); -ms-transform:translate ( -50%, -50%); -webkit-transform:translate ( -50%, -50%); Transform:translate (-50%,-50%);}The effect is as follows (the pop-up section is a gray background area):This can be very good to get what you want, horizontal and vertical
1.[Image]Htmlui.jpg? 2. [Code] below the source copy to the Quick (WWW.AAU.CN) run canImport Win.ui;/*dsg{{*/var WinForm =.. Win.form (bottom=399;text= "htmlayout-No border window"; border= "none"; right=599)Winform.add ()/*}}*/Import Win.util.round;Win.util.round (WinForm,,, 6,6); The form is rounded and the last two parameters specify the fillet radiusImport Web.layout;Import Web.layout.behavior.windowCommand;Import Web.layout.behavior.windowSizer;C
The A tag in html opens the head in A new window:
URL: change the password
Iframe framework on the right:
How can I open the link in the iframe of the parent page when opening the link in the window, instead of the effect of image 2? thinkphp
Reply to discussion (solution)
Baidu has no answer.
You described it correctly.Check whether the browser has chan
Tutorials | Pages use the HTML file of the frames structure to divide the entire window into separate small windows, each of which can load separate files, and happily, each window can be communicated to each other. Sometimes it's just right, and it feels great.
This is a very useful skill, however, learning content is also many, we together from the basic gramma
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.