#1
  1. No Profile Picture
    Ulrik N
    Guest
    Devshed Newbie (0 - 499 posts)
    Hi

    Does anyone know how to close a frameset by using a
    script like the one below.?.


    <html>
    <head>
    <title></title>
    </head>
    <SCRIPT language="JavaScript">
    <!--
    function closewindow() {window.close(this);}
    // -->
    </SCRIPT>
    </head>
    <body bgcolor="Black" text="silver">
    <A HREF="javascript:closewindow()">exit</a><hr noshade>
    </body>
    </html>




    ------------------
    -ulrik-
  2. #2
  3. No Profile Picture
    Spookster
    Guest
    Devshed Newbie (0 - 499 posts)
    You dont need a script to do it.

    <a href="javascript:top.window.close()">Close</a>

    Spookster
  4. #3
  5. No Profile Picture
    Ulrik N
    Guest
    Devshed Newbie (0 - 499 posts)
    Thanks!

    -- You just have to know........

    ------------------
    regds..
    -ulrik-

Similar Threads

  1. Rebuild original frameset around linked page
    By webmasta in forum HTML Programming
    Replies: 9
    Last Post: January 2nd, 2004, 08:35 PM
  2. Replies: 2
    Last Post: July 17th, 2003, 09:32 AM
  3. The 2 frameset files problem
    By clembert in forum HTML Programming
    Replies: 0
    Last Post: April 16th, 2002, 08:05 PM
  4. how to exit a frameset
    By clembert in forum HTML Programming
    Replies: 1
    Last Post: August 24th, 2001, 03:27 PM

IMN logo majestic logo threadwatch logo seochat tools logo