|
|
Q184 Is there a way to set the base target for a frame to parent.opener?
irt.org | Knowledge Base | JavaScript | Frame | Q184 [ previous next ] Q184 Is there a way to set the base target for a frame to parent.opener?If you want to target everything into the parent then:
If you want to target everything into the opener of the parent, say the window was opened by another window then you'll need to provide the opener window with a name. The main window has no name by default. In the original window:
Note, in Netscape Navigator 2 and/or Internet Explorer 3 as the windows name property was read only. It has since been made a read/write property. Therefore the check for images support is used as a simple browser check. And then in the popup window:
|
-- div -->
|