...

View Full Version : Is it possible to..



radiomess
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?

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

Pennimus
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!
</a>


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

radiomess
08-09-2005, 11:05 PM
Not for my site, for a friend's.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum