This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Front Page > July 2004 > Page Close





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Page Close
william Cook

2004-07-29, 7:16 pm

Is it possible to have a button that closes the page down?
I would like to give the visitor the option of
clicking "close" in liew of going up to the close X in the
upper right hand corner of the screen.
Steve Easton

2004-07-29, 7:16 pm

<input type="button" value="Close Page" Onclick="parent.close()">

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

"william Cook" <anonymous@discussions.microsoft.com> wrote in message
news:6d9f01c475a9$1f4d02c0$a501280a@phx.gbl...
> Is it possible to have a button that closes the page down?
> I would like to give the visitor the option of
> clicking "close" in liew of going up to the close X in the
> upper right hand corner of the screen.



William Cook

2004-07-30, 4:14 am

I thank You for the information. But I'm new to all this
and don't know where to type in this line you provide me.
I insert it the script for the page and nothing happens.
I guess I need more help.

>-----Original Message-----
><input type="button" value="Close Page"

Onclick="parent.close()">
>
>--
>Steve Easton
>Microsoft MVP FrontPage
>95isalive
>This site is best viewed............
>........................with a computer
>
>"william Cook" <anonymous@discussions.microsoft.com>

wrote in message
>news:6d9f01c475a9$1f4d02c0$a501280a@phx.gbl...
down?[color=darkred]
the[color=darkred]
>
>
>.
>

Andrew Murray

2004-07-30, 12:15 pm

you will need to do it in code view at the position you want the button to be
shown.

"William Cook" <anonymous@discussions.microsoft.com> wrote in message
news:702501c475dc$d0281840$a501280a@phx.gbl...[color=darkred]
> I thank You for the information. But I'm new to all this
> and don't know where to type in this line you provide me.
> I insert it the script for the page and nothing happens.
> I guess I need more help.
>
> Onclick="parent.close()">
> wrote in message
> down?
> the


William Cook

2004-07-30, 7:15 pm

I've insert the line in (on the HTLM page view)at the
point I wanted it to appear and still nothing.

This is a copy of what I did:
<tr>
<input type="button" value="close Page"
onclick="parent.close()">
<td width="131"><img border="0" src="j0395694.gif"
width="64" height="58"></td>
<td width="414">&nbsp;</td>
</tr>


What am I doin wrong?

at th point on the[color=darkred]
>-----Original Message-----
>you will need to do it in code view at the position you

want the button to be
>shown.
>
>"William Cook" <anonymous@discussions.microsoft.com>

wrote in message
>news:702501c475dc$d0281840$a501280a@phx.gbl...
this[color=darkred]
me.[color=darkred]
in[color=darkred]
>
>
>.
>

Thomas A. Rowe

2004-07-30, 7:15 pm

Instead of using a form button, just insert the following:


<a href="java script:void(0);" onclick="window.close();">Close This Window</a>


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"William Cook" <anonymous@discussions.microsoft.com> wrote in message
news:739101c47649$8403d3b0$a601280a@phx.gbl...[color=darkred]
> I've insert the line in (on the HTLM page view)at the
> point I wanted it to appear and still nothing.
>
> This is a copy of what I did:
> <tr>
> <input type="button" value="close Page"
> onclick="parent.close()">
> <td width="131"><img border="0" src="j0395694.gif"
> width="64" height="58"></td>
> <td width="414">&nbsp;</td>
> </tr>
>
>
> What am I doin wrong?
>
> at th point on the
> want the button to be
> wrote in message
> this
> me.
> in


Stefan B Rusynko

2004-07-31, 7:14 am

Your form filed is in an illegal place (not in a table cell) and is not in a form tag
Try:

<tr>
<td width="131"><img border="0" src="j0395694.gif" width="64" height="58">
</td>
<td width="414">
<form><input type="button" value="close Page" onclick="parent.close()"></form>
</td>
</tr>


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"William Cook" <anonymous@discussions.microsoft.com> wrote in message news:739101c47649$8403d3b0$a601280a@phx.gbl...
| I've insert the line in (on the HTLM page view)at the
| point I wanted it to appear and still nothing.
|
| This is a copy of what I did:
| <tr>
| <input type="button" value="close Page"
| onclick="parent.close()">
| <td width="131"><img border="0" src="j0395694.gif"
| width="64" height="58"></td>
| <td width="414">&nbsp;</td>
| </tr>
|
|
| What am I doin wrong?
|
| >> Onclick="parent.close()">
| at th point on the
| >-----Original Message-----
| >you will need to do it in code view at the position you
| want the button to be
| >shown.
| >
| >"William Cook" <anonymous@discussions.microsoft.com>
| wrote in message
| >news:702501c475dc$d0281840$a501280a@phx.gbl...
| >> I thank You for the information. But I'm new to all
| this
| >> and don't know where to type in this line you provide
| me.
| >> I insert it the script for the page and nothing happens.
| >> I guess I need more help.
| >>
| >> >-----Original Message-----
| >> ><input type="button" value="Close Page"
| >> Onclick="parent.close()">
| >> >
| >> >--
| >> >Steve Easton
| >> >Microsoft MVP FrontPage
| >> >95isalive
| >> >This site is best viewed............
| >> >........................with a computer
| >> >
| >> >"william Cook" <anonymous@discussions.microsoft.com>
| >> wrote in message
| >> >news:6d9f01c475a9$1f4d02c0$a501280a@phx.gbl...
| >> >> Is it possible to have a button that closes the page
| >> down?
| >> >> I would like to give the visitor the option of
| >> >> clicking "close" in liew of going up to the close X
| in
| >> the
| >> >> upper right hand corner of the screen.
| >> >
| >> >
| >> >.
| >> >
| >
| >
| >.
| >


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews