Close Window Button

by Honeywebster(at)aol.com

 Date:  Thu, 15 Feb 2001 19:13:04 EST
 To:  hwg-graphics(at)hwg.org
  todo: View Thread, Original
I have a Web page with JavaScript that opens a new smaller window (pop-up 
window -- where you can see the main page you were on and a smaller one pops 
up to the left).

The question is:
In this new window, I have a close button that is in form code 
(<form></form>). The information on the close button, tells the window to 
close and it is this (in brackets):
input type="button" name="closeit" value="Close Window" align="top" 
onclick="closeWindow()"
I would like to make my own, nicer looking button than what you get with the 
form code.

I have tried to grab pieces of this code to do it but it is a complete guess 
on my part and it hasn't worked.

Does anyone know if it can be done and what code I would need to include with 
the graphic button? (Or if you have seen it on a site and could point me to 
it.)

Thanks for any help on this.

Janet
Web Site Designer
Electronic Portfolio:
http://www.zagdesign.com

HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA