[thelist] 'click to remove this frame' link...

Peter-Paul Koch gassinaumasis at hotmail.com
Tue Jul 24 02:33:46 CDT 2001


>I have a few pages that link to external sites, with an unbranded frame
>across the top that has two links: 'return to site' and 'click to remove 
>this frame'...
>
>The top frame resides on our server, the bottom is an external link.
>
>When I grab the frame name via JavaScript, it works if the page is _local_ 
>- as soon as I link to somewhere not on my server, I get a permission 
>denied JS error.

Correct, this is security. You are not allowed to read out information about 
pages that come from another server. I'm afraid that what you want is not 
going to work.

For more information, see 
http://www.xs4all.nl/~ppk/js/index.html?framebust.html

ppk


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





More information about the thelist mailing list