Can someone tell me an html code to close a pop-up window.
Thank you
(3 posts)
(3 people)
Can someone tell me an html code to close a pop-up window.
Thank you
hi,
its javascript, hope thats ok
<form>
<input type="button" value="Close Window" onClick="window.close()">
</form>
<a href="window.close()">Close Window</a>
just paste it into a html snippet.
hope that helps,
You can also use this to use your own images:
<img width="107" height="19" border="0" alt="" src="http://www.yoursite.com/your_image_folder/close_window_image.jpg" onclick="parent.window.close();"/>
You must log in to post.
Use the form below to search the site:
Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!