Re: Close Window Button

by "Martin Clifford" <MLC1(at)nrc.gov>

 Date:  Mon, 17 Jun 2002 10:52:34 -0400
 To:  <hwg-techniques(at)mail.hwg.org>,
<icantoo(at)ncia.net>
  todo: View Thread, Original
<a href=3D"javascript:window.close()">Close Window</a>

or

<a href=3D"#" onClick=3D"window.close()">Closw Window</a>

Note: If the window is the parent window, the browser will ask the user to =
confirm the closure of the window.  If the window is the child, no =
confirmation will be issued.  This may be different if the window was =
opened using target=3D"_top".

HTH

Martin

>>> Regan Pride <icantoo(at)ncia.net> 06/17/02 09:57AM >>>
Simple question: How do you create a button that will close a browser=20
window that has been opened by a link on home page of a web site?


Regan Pride
ICANTOO Enterprises
P.O. Box 610, Franconia, NH 03580
603-838-5215

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA