How to Create a Close Window Button
By Alfred

Select an image or a piece of text on the page and create a hyperlink to 'An Internet page' with the 'URL address' specified as

 javascript:self.close();

If you want to hide the JavaScript from the browser's status bar, use

 " onclick="javascript:self.close();

instead.

HTH, Alfred

Serif forum link - Close Window Button


And, Bruce added:


Thanks Alfred-I've been looking for this too.
It works, but you have to make sure the window you're closing is set to "same window".

If it's set to "new window" (like I did), when it closes, there's nothing there! (because it's opened a new window!!)

Bruce