Re: JavaScript and Frames
by "Lisa" <nstar92(at)bellatlantic.net>
|
Date: |
Fri, 15 Dec 2000 09:26:21 -0600 |
To: |
"Peter-Paul Koch" <gassinaumasis(at)hotmail.com>, <Leonard.Harris(at)StartupStarter.com>, <hwg-techniques(at)hwg.org> |
References: |
hotmail |
|
todo: View
Thread,
Original
|
|
I am fighting to add frames to my site. It is too big now for an individual
page setup. I also think it might tidy it up a bit, although I am still
incomprehensible as to how to do them, even with FP as a Guide.
How can I add the frames and still keep it Web TV friendly as 25% are on
Web TV and Frames do not work for them. I do not want to have to do a
redirect, although with the present pages up I could. I also do not want
other sites to frame my pages.
Lisa
----- Original Message -----
From: "Peter-Paul Koch" <gassinaumasis(at)hotmail.com>
To: <Leonard.Harris(at)StartupStarter.com>; <hwg-techniques(at)hwg.org>
Sent: Friday, December 15, 2000 6:51 AM
Subject: Re: JavaScript and Frames
|
| >I thought this would be easy to figure out, but I'm obviously not too
| >bright. I have two frames (upper and lower). I want a link in the upper
| >frame to load whatever is in the lower frame to _top. I've defined a
| >function in the frameset page called removeframe(). I've tired
everything
| >I
| >can think of but nothing works. The obvious thing would be
| >
| >function removeframe() {
| >
| >top.location.href=lower.location.href
| >
| >}
|
| top.location.href = parent.lower.location.href
|
| >However I'm told something silly like permission denied. So how do I
solve
| >this problem?
|
| This is a different problem: it means that one of the frames comes from
| another server and you may nor read out location.href . For this problem
see
| http://www.xs4all.nl/~ppk/js/ under Frames and Windows => Frame Busting
|
| ppk
|
| _________________________________________________________________________
| Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA