Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | now: prevent being "framed" (was: Re(2): FLASH: Slick 3d cube movies-uploaded!) |
From: | Colin Moock |
Date: | Fri, 19 Feb 1999 14:11:51 GMT |
flashershocker [dot] com,Internet writes:
>Also some sites are simply not designed for frames. Web designers or
>"wanna be" designers should always get permission from the author of the site
>before setting a hyperlink. The last thing I wana see is some shmuck's
>horribly
>designed banners
>and 200k cheap photoshop effect title over a well designed, sleek professional
>site, because that shmuck had a link on his mainframe.
DG, if it's a real concern for you, add this javascript to the <HEAD> of the
pages you think are likely to be targets for "framing" by other sites:
function preventframing() {
if (self.parent.frames.length != 0)
{
self.parent.location="http://www.yoursite.com/yourdir/yourpage.html";
}
then add this to the <BODY> tag of those pages:
<BODY ONLOAD="preventframing()">
cheers,
colin
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: now: prevent being "framed" (was: Re, David Gary
Replies
Re: FLASH: Slick 3d cube movies-uploaded, Cheri Harder
Re: FLASH: Slick 3d cube movies-uploaded, David Gary
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]