RE: [PHP] escaping frames...
| From: | Brian V Bonini | Date: | Fri, 23 Aug 2002 10:53:26 +0000 |
| Subject: | RE: [PHP] escaping frames... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113737@lists.php.net to get a copy of this message | ||
Maybe it's too early in the morning but your question seems to be a purley
HTML question. You use target="_top" in an anchor.
> -----Original Message-----
> From: Simon De Deyne [mailto:Simon.DeDeyne@psy.kuleuven.ac.be]
> Sent: Friday, August 23, 2002 5:19 AM
> To: php-general@lists.php.net
> Subject: [PHP] escaping frames...
>
>
> Does anyone has some good suggestions on how to escape a frame
> and display
> a targetpage
> on _top? I know it can be done with javascript, but I was wondering if
> it's not possible in PHP.
>
> I thought about using the following and echo it when a certain
> variable in
> php is true in the file that
> should break out of the frames... but it doesn't work. Any ideas or
> alternatives, I'd love to hear them...
>
> cheers,
> Simon
>
> Window-target
> This one specifies the "named window" of the current page, and
> can be used
> to prevent a page from appearing inside another framed page. Usually this
> means that the Web browser will force the page to go the top frameset.
> <META HTTP-EQUIV="Window-target" CONTENT="_top">
>