I'd like to put a button on a page that closes that page.
The page opens when the user clicks on a hyperlink in
another page, and I want to give the user a button (other
than, obviously, the x in the upper right hand corner) to
close the window automatically. I've seen it done on
other sites, but don't see any help feature in FrontPage
that shows how to do it. I suspect it's with javascript
or something.

Thanks.

Re: Close window button by FrontPageForms

FrontPageForms
Mon Dec 29 23:36:51 CST 2003

Steve,

<input type="button" value="Back" onClick="history.go(-1)">

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

>-----Original Message-----
>I'd like to put a button on a page that closes that page.
>The page opens when the user clicks on a hyperlink in
>another page, and I want to give the user a button (other
>than, obviously, the x in the upper right hand corner) to
>close the window automatically. I've seen it done on
>other sites, but don't see any help feature in FrontPage
>that shows how to do it. I suspect it's with javascript
>or something.
>
>Thanks.
>.
>

Re: Close window button by David

David
Mon Dec 29 23:10:30 CST 2003

<input type="button" value="Close Window" onClick="if (window.focus)
top.opener.focus(); top.close();">

--
David Berry - MCP
Microsoft MVP - FrontPage
FrontPage Support: http://www.net-sites.com/sitebuilder/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
-----------------------------------
"Steve" <anonymous@discussions.microsoft.com> wrote in message
news:005301c3ce88$29a32e20$a001280a@phx.gbl...
> I'd like to put a button on a page that closes that page.
> The page opens when the user clicks on a hyperlink in
> another page, and I want to give the user a button (other
> than, obviously, the x in the upper right hand corner) to
> close the window automatically. I've seen it done on
> other sites, but don't see any help feature in FrontPage
> that shows how to do it. I suspect it's with javascript
> or something.
>
> Thanks.



Re: Close window button by Luke

Luke
Tue Dec 30 12:49:44 CST 2003

Very helpful. How would you add this code to an "image", instead of
creating a button?
I have an "arrow" image which I would like to add to my web page so that my
visitors can click on it to go to the page that they visited.
Thanks!



"FrontPageForms" <Me@NoSpam> wrote in message
news:00dd01c3ce96$ed2cd360$a001280a@phx.gbl...
> Steve,
>
> <input type="button" value="Back" onClick="history.go(-1)">
>
> Mike,
> http://FrontPag.Bizland.com
> Form Tutorials & Form Script Examples
>
> >-----Original Message-----
> >I'd like to put a button on a page that closes that page.
> >The page opens when the user clicks on a hyperlink in
> >another page, and I want to give the user a button (other
> >than, obviously, the x in the upper right hand corner) to
> >close the window automatically. I've seen it done on
> >other sites, but don't see any help feature in FrontPage
> >that shows how to do it. I suspect it's with javascript
> >or something.
> >
> >Thanks.
> >.
> >



Re: Close window button by MD

MD
Tue Dec 30 07:26:53 CST 2003

Hi Steve,

Take a look at J-Bots Pop-up window / Window Close components
http://www.websunlimited.com/order/Product/General/popup_window_component.htm
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at mvpga@microsoft.com

"Steve" <anonymous@discussions.microsoft.com> wrote in message
news:005301c3ce88$29a32e20$a001280a@phx.gbl...
> I'd like to put a button on a page that closes that page.
> The page opens when the user clicks on a hyperlink in
> another page, and I want to give the user a button (other
> than, obviously, the x in the upper right hand corner) to
> close the window automatically. I've seen it done on
> other sites, but don't see any help feature in FrontPage
> that shows how to do it. I suspect it's with javascript
> or something.
>
> Thanks.



Re: Close window button by MD

MD
Wed Dec 31 07:58:17 CST 2003

Hi Steve,

J-Bots Window Close.
http://www.websunlimited.com/order/Product/General/windowclose.htm
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at mvpga@microsoft.com

"Steve" <anonymous@discussions.microsoft.com> wrote in message
news:005301c3ce88$29a32e20$a001280a@phx.gbl...
> I'd like to put a button on a page that closes that page.
> The page opens when the user clicks on a hyperlink in
> another page, and I want to give the user a button (other
> than, obviously, the x in the upper right hand corner) to
> close the window automatically. I've seen it done on
> other sites, but don't see any help feature in FrontPage
> that shows how to do it. I suspect it's with javascript
> or something.
>
> Thanks.