Flasher Archive

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


Subject: Re: FLASH: OT : escaping a frame
From: Thorvald Neumann
Date: Tue, 16 Jan 2001 15:14:14 GMT


Hejsan!

Tuesday, January 16, 2001, 13:50, Gabriel Mulzer wrote:
> if someones showing content from my site in their site within a frame
> is there a simple way to escape this frame and open my original
> site instead ?

Use this javascript in your HTML-page:

<script language="JavaScript" type="text/javascript">
<!--
setTimeout ("changePage()", 3000);

function changePage() {
if (self.parent.frames.length != 0)
self.parent.location=document.location;
}

//-->
</script>

It should be clear what it does. ;)

Best regards,

Thorvald Neumann

--
Thorvald Neumann
Multimedia Developer
mailto: hrafnatmuenster [dot] de
http://www.aesir.de/
--
And never forget: be a triangle.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: OT : escaping a frame, Gabriel Mulzer

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