Code to close console...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sly_RJ
    Live Hard - Die Hard
    • Feb 2002
    • 17042

    #1

    Code to close console...

    I have some links in a console. I want to be able to click the link, open target in new window, and close console.

    How do I do this?
    PHAT SERVERS - Quality dedicated hosting at a quality price!
    sly AT phatservers DOT com - 147479144
  • Amputate Your Head
    There can be only one
    • Aug 2001
    • 39075

    #2
    in the head put:

    hahahahahahahaha language="hahahahahahahahahaha" type="text/hahahahahahahahahaha">
    <!--
    function Lvl_P2P(u,c,d,w,h){ //ver1.0 4LevelWebs
    top.opener.location.href = u
    if (c hahahaha true)setTimeout('top.close()',d)
    if (w > 0){top.resizeTo(w,h)}
    }
    //-->
    </hahahahahahahaha

    in your link, put:

    <a href="hahahahahahahahahaha:" onClick="Lvl_P2P('path to your page.html',true,0000,0,0)">Your Link Text</a>
    SIG TOO BIG

    Comment

    • BadBoyBill4281
      Confirmed User
      • May 2002
      • 616

      #3
      window.close();
      ICQ#128496425

      www.swinginglocal.com

      Comment

      • Amputate Your Head
        There can be only one
        • Aug 2001
        • 39075

        #4
        well... so much for that plan. Forgot the board won't let ya post hahahahahahahahahaha
        SIG TOO BIG

        Comment

        Working...