SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Nov 5, 2003, 05:42 #1
- Join Date
- Aug 2003
- Location
- England
- Posts
- 34
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
-
Nov 5, 2003, 10:00 #2
- 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