W3C home > Mailing lists > Public > www-html@w3.org > February 1996

Target window reference back to parent?

From: Yvonne DeGraw <yvonne@silcom.com>
Date: Tue, 20 Feb 1996 13:30:48 -0700
Message-Id: <v01510100ad4fdaf86095@[]>
To: www-html@w3.org
I'm using Netscape's new target= syntax in a link to open a separate
browser window (not just a separate frame) called "image". From the "image"
window, is there a way to make a link use the window from which this 2nd
window was opened?

I don't see a way to give the existing window a target name. Is there a
reserved name for the parent "window" as opposed to the parent "frame"? (I
browsed the JavaScript doc, but don't see a way to get to the separate
unnamed window object.) The window that opened the "image" window may be
the inital web browser window or another one the user has opened. If
<FRAMESET> had a "name=" attribute, I could solve the problem by giving the
calling window a name.

I know that if these were just separate frames instead of separate windows,
I could use targets of "_top", "_parent", etc. Or, I could use the
JavaScript examples that Friedhelm (ries@prz.tu-berlin.de) referenced here
recently to create a "Back" button for a single frame.

Any ideas for a way to do this with separate windows, not just separate frames?

Yvonne DeGraw, Technical Services    o Web Authoring
yvonne@silcom.com                    o Technical Writing
http://www.silcom.com/~yvonne/       o Database Design and Publishing
Tel: 805/683-5784                    o User-Interface Design
Received on Tuesday, 20 February 1996 16:28:18 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:18 UTC