Actually that onLoad="self.close();" will close the window as soon as the document is loaded. You want something like this for a close button:

<input type="button" value="Close" onClick="window.close();">


Kenneth E. Lussier wrote:
On Thu, 2002-11-07 at 16:23, [EMAIL PROTECTED] wrote:

Hey,

Anyone know how to make those neat little pop-up windows in Netscape?

I'm want to connect an href element to a new window which also contains a "close window" button.

You can use the HTML frame targets. Something like:
<a href="/path/to/some/script/or/page" target="_blank">

In the new window that opens, have the "Close Window" button open a new
page with this:

<html>
<head>
<title>Window Closer</title>
</head>

<body ONLOAD="self.close()">
</body>
</html>

I can't help you with the CGI stuff, though.

C-Ya,
Kenny
_______________________________________________
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to