NewWindow2 event
Fires when a new window is to be created.
Syntax
| HTML Attribute | <element NewWindow2 = "handler(event)"> |
|---|---|
| attachEvent Method | object.attachEvent("NewWindow2", handler) |
Event information
| Synchronous | No |
|---|---|
| Bubbles | No |
| Cancelable | No |
Event handler parameters
- ppDisp [in, out, ref]
-
C++ An interface pointer that, optionally, receives the IDispatch interface pointer of a new WebBrowser object or InternetExplorer object. VB Object expression that, optionally, receives a new, hidden WebBrowser or InternetExplorer object with no URL loaded. - Cancel [in, out, ref]
-
Type: Boolean
A Boolean value that determines whether the current navigation should be canceled.
Remarks
Microsoft Internet Explorer 6 for Windows XP Service Pack 2 (SP2) or later. NewWindow3 is raised instead of this event. The usage notes for NewWindow3 also apply to this event.
See also
Show: