Does anyone know how I could program a button to close the window? The only options I'm finding are linking to other pgs., email, bookmarks, etc.
Thanks

Re: close button by Steve

Steve
Mon Dec 08 15:05:00 CST 2003

This will create a button named "Close Page"
that will close the page when clicked.


<p align="center"><input type="button" value="Close Page" name="Closeup"
Onclick="parent.close()"></p>


"heidi" <anonymous@discussions.microsoft.com> wrote in message
news:2E108AB7-BB1D-41A2-AAF0-297F63C6D66F@microsoft.com...
> Does anyone know how I could program a button to close the window? The
only options I'm finding are linking to other pgs., email, bookmarks, etc.
> Thanks



Re: close button by Tom

Tom
Mon Dec 08 15:08:40 CST 2003

Here's a couple:

<a href="javascript:window.close();">Close Window</a>

or:


Form Button:

<form>
<div align="center"><center><p><input TYPE="button" NAME="close"
VALUE="Close this Window" onClick="self.close()"></p>
</center></div>
</form>
--
Tom Pepper Willett
Microsoft MVP - FrontPage
www.microsoft.com/office/frontpage/prodinfo/default.mspx
To find the best Newsgroup for FrontPage support see:
www.net-sites.com/sitebuilder/newsgroups.asp
-----
"heidi" <anonymous@discussions.microsoft.com> wrote in message
news:2E108AB7-BB1D-41A2-AAF0-297F63C6D66F@microsoft.com...
> Does anyone know how I could program a button to close the window? The
only options I'm finding are linking to other pgs., email, bookmarks, etc.
> Thanks



Re: close button by anonymous

anonymous
Mon Dec 08 15:26:07 CST 2003

is there a way to use part of an imagemap to close the window? i don't need to create the button itself, just make the close button part of an imagemap close the window. thanks

Re: close button by FrontPageForms

FrontPageForms
Tue Dec 09 02:49:18 CST 2003

Heidi,

Here is a thread you might take a look at.

http://www.webdevforums.com/showthread.php?t=2241

Mike,
http://FrontPageForms.com
Form Tutorials & Form Script Examples

>-----Original Message-----
>Here's a couple:
>
><a href="javascript:window.close();">Close Window</a>
>
>or:
>
>
>Form Button:
>
><form>
> <div align="center"><center><p><input TYPE="button"
NAME="close"
>VALUE="Close this Window" onClick="self.close()"></p>
> </center></div>
></form>
>--
>Tom Pepper Willett
>Microsoft MVP - FrontPage
> www.microsoft.com/office/frontpage/prodinfo/default.mspx
>To find the best Newsgroup for FrontPage support see:
> www.net-sites.com/sitebuilder/newsgroups.asp
>-----
>"heidi" <anonymous@discussions.microsoft.com> wrote in
message
>news:2E108AB7-BB1D-41A2-AAF0-297F63C6D66F@microsoft.com...
>> Does anyone know how I could program a button to close
the window? The
>only options I'm finding are linking to other pgs.,
email, bookmarks, etc.
>> Thanks
>
>
>.
>