[IHTMLWindow4::createPopup is no longer supported. Starting with Internet Explorer 11, use a div, iframe, or other element with a relatively high IHTMLRuleStyle::zIndex value. For info, see Compatibility changes.]
Creates an IHTMLPopup window object.
retVal = object.createPopup(varArgIn);
- varArgIn [in, optional]
This argument is reserved.
There are no standards that apply here.
The pop-up window is initially in a hidden state.
Note Documents that change the IHTMLDocument2::domain property before creating the popup object may receive an "Access is denied" error message when accessing the pop-up object. Changes made to IHTMLDocument2::domain in the calling document will not propagate to the new pop-up object; this is currently a design restriction to limit access with the pop-up object.
Windows Internet Explorer 8. Windows created with IHTMLWindow4::createPopup inherit the zoom state of windows that created them.
Windows Internet Explorer 7 and later. By default, windows created with the IHTMLWindow4::createPopup function are displayed in IE5 (Quirks) mode compatibility mode (also called "quirks" mode), regardless of the display mode of the webpage that created them. To display standards-based content in a popup window, use IHTMLPopup::document.location location to load an external document into the popup window. When you do this, the popup window will render the content according to the document compatibility mode of the loaded content. For information, see Defining Document Compatibility.
Microsoft Internet Explorer 6 for Windows XP Service Pack 2 (SP2) places several restrictions on windows created with this method. Restricted properties include size, screen position, and z-order. For more information, see About Window Restrictions.
- Using the Popup Object