Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: now: prevent being "framed" (was: Re(2): FLASH: Slick 3d cube movies-uploaded!)
From: Erik [gearik] Mattheis
Date: Fri, 19 Feb 1999 21:59:54 GMT

>> function preventframing() {
>> if (self.parent.frames.length != 0)
>> {
>>
>> self.parent.location="http://www.yoursite.com/yourdir/yourpage.html";

>> <BODY ONLOAD="preventframing()">

This won't work if there is a grandparent frameset. This will in all cases:

<script language="JavaScript">
<!--

if (top.frames.length)
top.location = location

//-->
</script>
__________________________
Erik [gearik] Mattheis
head honcho
gourmandizer
records/design
<http://www.gourmandizer.com>
__________________________


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com


Replies
  FLASH: Re: now: prevent being "framed", Colin Moock

Replies
  Re: FLASH: Slick 3d cube movies-uploaded, Cheri Harder
  Re: FLASH: Slick 3d cube movies-uploaded, David Gary
  now: prevent being "framed" (was: Re(2):, Colin Moock
  Re: now: prevent being "framed" (was: Re, David Gary

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]