advertisement -- please support sponsors

windows:
closing windows with hyperlinks

Question: How can I set up a hyperlink to close a window?

If the hyperlink is in the window to be closed, then use the following code:

<a href="javascript:self . close ();">click here to close</a>

Otherwise, replace the window reference "self" with a reference to the window you wish to close.

Charlton Rose
30 August 1997