[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.frontpage.programming

i want to add a 'click here to close this window' button

jasonc

3/6/2004 9:58:00 PM

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


2 Answers

JDR

3/7/2004 12:21:00 AM

0

See code below

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

Steve Easton

3/7/2004 12:23:00 AM

0

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>