|
-
Feb 21st, 2002, 12:44 PM
#1
Killing Frames
I was wondering if there is a way to kill frames that are on a webpage already, before my page is opened.
Example, when you use Jeeves (ask.com) and you goto a site you have the ask.com frame at the top. I know there is a link to remove frames but I wanted to do it in code?
Any ideas? Feel free to use anything from HTML to ASP/JSP anything.
THANKS!
NOMAD
-
Feb 21st, 2002, 09:49 PM
#2
Stuck in the 80s
This should work for both IE and Netscape:
Code:
<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>
-
Feb 22nd, 2002, 12:56 PM
#3
AWSOME
Works great!
Thank you!
NOMAD
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|