set up a close window function on webpage

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Yes, use this:
<a href="#" onclick="window.close()">Close Window</a>

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top