Lang14
02-20-2005, 04:35 PM
Is there a way, so that if my page is loaded in a frame it closes the frame and loads the window with my page, so it's not in a frame?
Thanks in advance,
Lang
Thanks in advance,
Lang
![]() | View Full Version : Beating the unfriendly frame!![help] Lang14 02-20-2005, 04:35 PM Is there a way, so that if my page is loaded in a frame it closes the frame and loads the window with my page, so it's not in a frame? Thanks in advance, Lang toweter 02-20-2005, 04:54 PM yeah, it's possible with javascript.. <html> <head> <title>Prevent displaying page in frames</title> <script type="text/javascript"> <!-- if(top!=self) top.location=self.location; //--> </script> </head> <body bgcolor="#FFFFFF" text="#000000" link="#AA5522" vlink="#772200" alink="#000000"> <h1>No chance for showcase providers!</h1> </body> </html> found here: http://de.selfhtml.org/javascript/beispiele/seitenanzeige.htm Lang14 02-20-2005, 05:34 PM thanks you're amazing lol |