View Full Version : Is it possible to..

08-09-2005, 11:24 PM
Open a link and the window that the link was opened from closes when the new link is opened? If that makes sense. If it's possible, does anyone have the coding?

08-09-2005, 11:41 PM
why not just open the page in the same window?

08-09-2005, 11:43 PM
It would have to be javascript so it won't work for everyone viewing, but...

<a href="newpage.html" target="blank" onClick="window.close()">
Click to open new window and close this one!

Out of curiosity, what does this actually achieve for your site?

08-10-2005, 12:05 AM
Not for my site, for a friend's.