First, window
1. browser window and page size
2. The intermittent call and timeout call
SetInterval (Function,time (in milliseconds)) returns: Time ID number (provides an identifier for the Clearinterval (Timeid) method) br> clearinterval (Timeid); Cancels the intermittent call to
SetTimeout (function,time in milliseconds) to return: Time ID number (provides an identifier for the cleartimeout (Timeid) method)
Cleartimeout (Timeid); Cancel Timeout call
3. Navigate and open Window
window.open (args)://Navigate to a specific URL, or open a new browser window
first parameter: URL to load
Second parameter: Window target
Third parameter: an attribute string [Height,width,left,menubar,resizable,scrollbars,status,toolbar,top]
The fourth parameter: whether the new page supersedes the Boolean value of the currently loaded page in the browser history
//<a href= "www.baidu.com" target= "Topframe";
//www.baidu.com: <p id= "Topframe" >text content</p>
Eg:window.open ("www.baidu.com", "Topframe", "height=400,width=400 , Top=10,left=10,resizable=yes ");
Window.opener:
1. Save the original window object that opened it. This property is defined only in the outermost window object (top) of the popup and points to the window or frame that calls window.open ().
Window.opener = = Window[true]
2. Setting the opener property to Null is to tell the browser that the newly created tab page does not need to communicate with the tab that opens it, so: you can run it independently. Once the tab is cut off, it cannot be restored
Window.close (): Close the current page "theoretically: limited to: Windows opened with the Open method"
Window.closed: Returns a Boolean value: whether to close
JavaScript's BOM five objects (window;location;navigator;screen;history)