...

View Full Version : how do I put a close button in a popup window



Suddaan
08-24-2002, 08:33 AM
I have got a few pop up windows on my web page but I want to add to the popup window the abilty to click either a button or a link [click to close] to be able to close the window.

Thanks

Spookster
08-24-2002, 08:53 AM
<form>
<input type="button" value="Close" onClick="self.close()">
</form>

or

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum