Re: Force a document to be opened in a frame
| From: | Nasir Ali | Date: | Sat, 17 Jun 2000 17:44:17 +0000 |
| Subject: | Re: Force a document to be opened in a frame | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-503@lists.php.net to get a copy of this message | ||
I know this but if the page that I'm trying to open in one of the frames on
my web site has the following code then I would open in its own window.
This is the reason I want to force other pages to be opened into one of the
frames on my web site even if the have the following code or something like
this.
<SCRIPT language="JavaScript"> <!--
if (window != window.top)
top.location.href = self.location.href
// -->
</SCRIPT>
I think now would be able to understand my problem... now, any ideas...???
At 03:18 PM 6/16/00 -0400, you wrote:
>This is a HTML/javascript issue. What you would do is just set up some
frames
>and say if you want to have a link from the "navigation" frame opened in the
>"body" frame, you tell the link <a href="myPHPPage.php"
target="body">myLink</a>
>
>Michael
>
>Nasir Ali wrote:
>
>> HI all,
>> I need to write a PHP script for forcing other pages to be opened into one
>> of the frames of my web page. Any ideas how to implement it. I'm new in
>> this PHP world! An example could be the navigation bar at the XOOM web
pages.
>>
>> Thanks for the help and ideas in advance...
Nasir Ali
mailto:nasir_786@hotmail.com
mailto:nal@mta.ca
http://nasirali.cjb.net