[thelist] Closing a window with JavaScript

Tom Dell'Aringa pixelmech at yahoo.com
Wed Aug 21 10:51:01 CDT 2002


--- 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



More information about the thelist mailing list