i am using frontpage 2002, with windows xp.

i would like to have a button so if clicked it would then click that window
that the button was in.

how do i do this?


thanks

J

RE: i want to add a 'click here to close this window' button by webdev

webdev
Sat Mar 06 18:21:05 CST 2004

See code below

<form><p><input type="button" value="Close" ONCLICK="self.close()"></p></form>

Re: i want to add a 'click here to close this window' button by Steve

Steve
Sat Mar 06 18:23:17 CST 2004

You don't need the form tags,

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

will do it.

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

"JDR" <webdev@trisystemsinc.com> wrote in message
news:21BD62C5-8EA3-4BBE-8F07-A4744BDC6B3A@microsoft.com...
> See code below:
>
> <form><p><input type="button" value="Close"
ONCLICK="self.close()"></p></form>