This window usually contains an advertisement or information useful to the user. A JavaScript can be used for such a purpose. This article will discuss how to open and close this type of window, as well as how to generate contents in a newly displayed window. The open method is used to generate a new browser window with its own customized characteristics. Replace Specifies how the new window URL will be positioned in the address list in the History object.
All parameters are optional.
For example, in the code above, the window is shown as the windowA object. The close method can also be applied to the window object. A complete HTML page that can even include JavaScripts can be coded. The close method must be used when the writing operation in the window is completed. Using AceHTML to create a new window AceHTML can generate all the code automatically in order to create a new window.