...

View Full Version : closing windows



ksmloh
02-10-2004, 04:02 PM
I have a html page (sample1.htm) that opens a window,
a = window.open("sample2.htm","pop","");

and sample2.htm opens another window
b = window.open("sample3.htm","pop2","");

So how, from sample1.htm ,
do we close the window containing sample3.htm?

Vladdy
02-10-2004, 04:15 PM
err.. we do not open them windows in the first place ..;)

glenngv
02-11-2004, 06:24 AM
granted b is a global variable

b.close();



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum