Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    link for closing window

    how can I use a link to close a window
    <td>4.<a href="doc2.htm"target="dynamic">Refresh the page</a></td></tr>
    <tr><td>5.<a href="">Exit</a></td></tr>

  • #2
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts
    Code:
    <a href=" javascript:self.close();">Close Window</a>
    And remember, you can't close windows that weren't opened by javascript.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •