By closing a window in firefox browser closes all other windows

K

karthi

Hi,

I have invoked a html page from an another html page by the
following code

if (args.indexOf("APPLaunched") == -1) {
var url = "runAPP.shtml" + location.search +
"&APP=sdm&GIF=rsdm&APPLET=XDM&proxyCodeBase=" + proto + "//" + ipAddr +
"/";
winrunapp = window.open(url, calcWindowArgs(640,560));

if (winrunapp == null || typeof(winrunapp) == "undefined") {
alert("You have an active popup blocker. Please disable it for to
function.");
}
if (parent.location.search && (parent.location.search.length > 0))
{
extraArg = "&APPLaunched=1";
} else {
extraArg = "?APPLaunched=1";
}
parent.location.href = parent.location.href + extraArg;
}
location.href = "home_ui.html";


If I am trying to close the newly invoked runAPP.shtml (child window),
it is closing all the other browser windows exiting all other
applications. These problems persist only in firefox and netscape only.

Please provide me with solutions to avoid closing all other windows.

Thanks in advance,
Karthi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top