Close Window

admin

Administrator
Staff member
I can easily make a close window button with this code:<br />
<FORM><br />
<INPUT TYPE='BUTTON' VALUE='Close Window' onClick='window.close()'><br />
</FORM><br />
<br />
but when clicked it pops up a message to the user saying:<br />
The Web page you are viewing is trying to close this window<br />
Yes or NO<br />
<br />
is there a way to get rid of this message?<!--content-->Yes, try something like this: <!-- m --><a class="postlink" href="http://www.infinitypages.com/research/selfclose.htm">http://www.infinitypages.com/research/selfclose.htm</a><!-- m -->.
 
Back
Top