Re: Resize New Pop-Up Window

by "Mike Taylor" <lonewolf(at)one.net>

 Date:  Wed, 30 Oct 2002 19:08:23 -0500
 To:  "HWG-Techniques" <hwg-techniques(at)hwg.org>
 References:  sellerdoor
  todo: View Thread, Original
<script language="JavaScript">
<!--
function myWindow() {

theNewWindow = window.open("yournewwindowURL", "newwindow");
self.close();
}
//-->
</script>

<a href="javascript: void(0);" Onclick="myWindow()"><img
src="yourimage"></a>


----- Original Message -----
From: "Mamie" <seller(at)sellerdoor.com>
To: "HWG-Techniques" <hwg-techniques(at)hwg.org>
Sent: Tuesday, October 29, 2002 10:21 AM
Subject: Resize New Pop-Up Window


> Can someone please help me?  I'm learning javascript, and my brain is
> fried right now. I have a 200x224 pop-up windows
> (http://www.sellerdoor.com/Popup1.html) which opens upon leaving a web
> page (http://www.sellerdoor.com/index-new.html).
>
> My question is:  How do I direct the pop-up window to close and open a
> new window only if somone clicks onto the image?
>

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