First, you need to name the main window. I am naming it win1 as an example: window.name = "win1"; I think you are making it so when a user goes to a new page or clicks on your links in the new window the main window closes, so write this in your links: You can then make a link in the new window that closes the first like this: <a href="close()" target="win1"> </a> I know there is another way to do this, but I am not sure how. I hope you can make it work :) ==================================== Trey: tutwabee at hotmail.com Get free JavaScripts at the Blue Dragon! Just go to: http://www.websiter.biz ==================================== Make money by being online: http://www.degoo.com/index.php?refid=tutwabee =================================== Earn free traffic for your website easily: http://tools.addme.com/servlet/popview?id=52260 ==================================== >From: phumes1 <phumes1 at rogers.com> >Reply-To: javascript at LaTech.edu >To: javascript at LaTech.edu >Subject: [Javascript] Re: redirect >Date: Mon, 06 May 2002 12:53:31 -0400 > > > >Hi, > >When I click on one of my links I open another template. WIthin that >template I would like to be redirected to another URL and then have the >previous window closed. > >Can this be done? If so, how?? > > > >+-----------------------------------------------------------------------------------+ > >Philip Humeniuk >phumes1 at rogers.com >phil.humeniuk at rogers.com >+------------------------------------------------------------------------------------+ > > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com