Add this nifty script to your pop up pages for the users to close them :)
Six styles, and they all work.
If you are having a problem with anyone of them, let me know.

1. Closing a Regular Window from a Link Click


<a href="javascript:window.close()">Close</a>


2. Closing a Regular Window from an Image Click


<a href="javascript:window.close()">
<img border="0" src="closingwindows.gif" width="95" height="46">
</a>


3. Closing a Regular Window from a Button Click


<form>
<input type="button" value="Close" onClick="window.close()">
</form>


4. Closing a Frameset Window from a Link Click


<a href="javascript:top.window.close()">Close</a>


5. Closing a Frameset Window from an Image Click


<a href="javascript:top.window.close()">
<img border="0" src="closingwindows.gif" width="95" height="46">
</a>


6. Closing a Frameset Window from a Button Click


<form>
<input type="button" value="Close" onClick="top.window.close()">
</form>

 

Terms and Conditions
All rights reserved. Copyright © 2002 - 2003 ghostBone.com