SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2003
    Location
    England
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Popup link that closes itself and opens a new window

    Hi,

    I have a popup window that opens. I want a link in this popup that will simulatenously close itself and open a new browser window at the same time.

    Any ideas on how to go about this?

    K

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2002
    Location
    Belgium
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this should work:
    Code:
    <a href="javascript: window.open('http://www.url.com'); window.close();">Open a new window and close this one</a>


Bookmarks

Posting Permissions

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