escaping frames...
| From: | Simon De Deyne | Date: | Fri, 23 Aug 2002 09:18:39 +0000 |
| Subject: | escaping frames... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113729@lists.php.net to get a copy of this message | ||
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">