View Full Version : Is it possible to..

08-09-2005, 10: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, 10:41 PM
why not just open the page in the same window?

08-09-2005, 10: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-09-2005, 11:05 PM
Not for my site, for a friend's.