RE: [PHP-WINDOWS] Force a document to be opened in a frame
| From: | PHP | Date: | Sun, 18 Jun 2000 18:20:29 +0000 |
| Subject: | RE: [PHP-WINDOWS] Force a document to be opened in a frame | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-509@lists.php.net to get a copy of this message | ||
Hi,
this is a JavaScript issue, NOT a PHP issue.
I think this is comparable to these scripts some ppl use on their Tripod
websites (or they try to use them) to prevent these ad popups.
Maybe there is an solution @ http://www.javascripts.com or
http://www.scriptsearch.com?
Another possibility would be to "pump" all the other websites you have links
to through a PHP script which removes or comments these JavaScript-codes as
below.
http://www.anonymizer.com is using such a technique -
normally each
JavaScript is converted into a comment, as you can see in the source of that
file.
Try it and see for yourself:
http://anon.free.anonymizer.com/http://www.php.net
This is NOT an error, this is the way you use the free Anonymizer (forcing
you to see a banner and the Anonymizer logo on each site).
They rewrite EVERY link on a site to be redirected through their own
servers - have a look!
Regards,
Sascha Kimmel
> -----Original Message-----
> From: Nasir Ali [mailto:nal@mta.ca]
> Sent: Saturday, June 17, 2000 7:44 PM
> To: php-windows@lists.php.net
> Subject: Re: [PHP-WINDOWS] Force a document to be opened in a frame
>
>
> 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
>
>