HELP!
| From: | Chris Murley | Date: | Thu, 17 Aug 2000 20:44:40 +0000 |
| Subject: | HELP! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12356@lists.php.net to get a copy of this message | ||
I have a frame set:
FRAME A
FRAME B
i have this link in frame B
<a href=index.php target=_parent>Click here to logout!</a>
Because I specified target=_parent, that kills the frameset in the users
broswer, wich is what i want. Heres my problem:
I want to be able to specife target in either a header command or in a
javascript command.
So in frame b...
header("Location: window.php\n\n");
OR
<script language="JavaScript">
window.location.href="window.php";
</script>
Is it possible to specify the target like so?
I am doing some check on the users info, and i'f it's wrong i want to send
them to a diff page and blow away the frameset..
can this be done?
Thanks!
Chris