[thelist] Closing a window with JavaScript

Craig cd-ml at aardvark.net.au
Wed Aug 21 12:05:01 CDT 2002


Tom,

Thanks for replying. I can close the pop-up if I open it with JS then close
it, but if I open the pop-up then change the page and then try to close it, it
doesn't seem to work.

----- Original Message -----
From: "Tom Dell'Aringa" <pixelmech at yahoo.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, August 22, 2002 1:20 AM
Subject: Re: [thelist] Closing a window with JavaScript


> --- Craig <cd-ml at aardvark.net.au> wrote:
> > Hi,
> >
> > Can you close a window with JavaScript after the page changes (for
> > lack of a
> > better word)?
>
> Craig, if you want to close a window using code in itself, you simply
> do self.close(). If you are saying you want the window that *opened*
> a pop up to close the pop up, it shouldn't matter that it changed.
>
> You just need to manipulate your remote window, which isn't hard.
> Read this link:
>
> http://www.webreference.com/js/column7/manipulate.html
>
> HTH
>
> Tom
>
>
>
> =====
> var me = tom.pixelmech.webDeveloper();
>
> http://www.pixelmech.com/
> http://www.maccaws.com/
> [Making A Commercial Case for Adopting Web Standards]
>
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list