View Full Version : closing windows...


MistressVivi
06-21-2003, 10:46 PM
Well, I was wondering how to use java to close a pop-up window? Like, for example, you have a page that says to click on a link, when you do, it comes up in a new window that also has a link at the bottom that says click to close the window. After clicking this one, the window closes. Does anyone know the code to do this? I would appreciate it greatly =)

MaGiCSuN
06-21-2003, 10:48 PM
<a href="javascript: self.close()">Close Window</a>

Love,
Mirna

MistressVivi
06-21-2003, 10:52 PM
*gasp* you're a lifesaver, you know that?! Thanks so much! ^__________^