Results 1 to 3 of 3

Thread: Killing Frames

  1. #1
    NOMADMAN
    Guest

    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

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    This should work for both IE and Netscape:

    Code:
    <script>
    <!--
    
    if (window!= top)
    top.location.href=location.href
    // -->
    </script>
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    NOMADMAN
    Guest

    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
  •  



Click Here to Expand Forum to Full Width