Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Kill Frame
demonlord
post Feb 24 2008, 12:22 AM
Post #1


Member [Level 3]
******

Group: [HOSTED]
Posts: 92
Joined: 1-January 08
Member No.: 55,554



Hello,
I'm not really sure it this can be done with javascript or not but what i would like to do is prevent my html pages from beening showed in frames. i know this can be done as i have seen it done before but i dont know how to do it. one site that gives this option is co.nr when you sign up for a short domain with them they give you the option of do you want killframe to be on, and if you select yes the page will not be able to be show in a frame. so if some one knows how to do this could they please tell me.


Thanks
Go to the top of the page
 
+Quote Post
howardh
post Mar 30 2008, 07:03 PM
Post #2


Newbie
*

Group: Members
Posts: 4
Joined: 24-February 08
Member No.: 58,381



google is your friend
http://www.google.ca/search?hl=en&q=ht...G=Google+Search
second link

CODE
<script type="text/javascript" language="JavaScript"><!--
if (self != top)
{
   if (document.images)
      top.location.replace(window.location.href);
   else
      top.location.href = window.location.href;
}
// --></script>
Go to the top of the page
 
+Quote Post
varalu
post Mar 30 2008, 07:12 PM
Post #3


Super Member
*********

Group: [HOSTED]
Posts: 284
Joined: 1-October 07
From: India
Member No.: 50,968



That was cool.

There is nothing that cannot be done with help of JavScripts. smile.gif

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics


 



- Lo-Fi Version Time is now: 26th July 2008 - 03:32 PM