Re: help with frames

Markus Veittes (markus@bpservice.w3.org)
Thu, 22 Feb 1996 09:01:07 +0100


From: "Markus Veittes" <markus@bpservice.w3.org>
Message-Id: <9602220901.ZM26526@bpservice.berensp.com>
Date: Thu, 22 Feb 1996 09:01:07 +0100
In-Reply-To: shan@asl.hitachi.com (Shan (admin))
To: shan@asl.hitachi.com (Shan (admin))
Subject: Re: help with frames
Cc: www-html@w3.org

On Feb 21, 10:46pm, Shan (admin) wrote:
> Subject: help with frames
>
> Using Href's i can display HTML onto a targetted frame, for example:
>
> <A HREF=http://my.domain.com/index.html target=main> Click here</A>
>
> However, when i try to use the "Location" header, this doesn't work.
>
> For example, i have a CGI script which after doing all the
> necessary processing does something like::
>
> printf("Location: http://my.domain.com/index.html target=main\n\n");
>
> The index.html gets displayed in the calling frame itself,
> it never gets to the target window. It kind of ignores
> the target directive. I have even tried using the reserved
> words for the frames, like "_parent"; but of no avail.
>
> What am i doing wrong ? How can i achieve the desired effect ?
>
> Please reply directly to: shan@asl.hitachi.com
> as i am not on the mailing list.
>
> Thanks.
>
> Shan
>-- End of excerpt from Shan (admin)

As far as I know, You have to put the target tag into the HTML-Page
which starts the cgi-Script.
<FORM ACTION=.... target=main>

Yours, Markus

-- 
Markus Veittes
berens/partner GmbH           Tel.: +49-211-9051350
Binterimstr. 12               Fax:  +49-211-331297
                              E-mail: markus@berensp.com
D-40223 Duesseldorf           URL: http://www.berensp.com/markus/
Germany