set up a close window function on webpage

M

Myamifin

I would like to set up a close window link on one of my webpages. I am using
it as a thank you for an email sent to me, but I have it set up to come up in
a separate window. Is it possible to put an action on a word that will close
the current window and return them to the open site window?
 
J

Jens Peter Karlsen[FP MVP]

Yes, use this:
<a href="#" onclick="window.close()">Close Window</a>

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
Top