SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: framing
-
Dec 8, 2007, 18:05 #1
- Join Date
- Dec 2007
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
framing
I have two pages (a lot more in fact ) A and B in a frameset named C. I you type the URL of B, it will open in my fameset. The problem I am unable to solve is that another site has been able to "frame" my page B into its own frameset. How do I have to proceed to stop that?
-
Dec 8, 2007, 18:10 #2
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
Try putting this javascript in your frameset:
Code:if (top.location != self.location) { top.location = self.location; }
-
Dec 9, 2007, 11:07 #3
- Join Date
- Dec 2007
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
That will free my page from somebody else frameset but my page will not be nested back in my own frame. Thanks anyway.
-
Dec 9, 2007, 13:04 #4
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
Bookmarks