Hello!
I am writing an application that is going to be run on a local Intranet. I want to load the default page which is really just the application launcher. It opens a new featureless window (no menu bar, no toolbar, no address bar, etc) which contains the application. I then want to close the launcher window. But every time I do, I get the message, "The Web page you are viewing is trying to close the window".
So I added some code to the end of my launcher page that looks like this:
window.opener = self;
window.opener.close();
This works on some machines but not on others and I do not know why. Is there some way to tell IE that this is an Intranet application and that its ok for me to be able to close that window myself?
Thanks in advance for any help you can offer.
-Greg
I am writing an application that is going to be run on a local Intranet. I want to load the default page which is really just the application launcher. It opens a new featureless window (no menu bar, no toolbar, no address bar, etc) which contains the application. I then want to close the launcher window. But every time I do, I get the message, "The Web page you are viewing is trying to close the window".
So I added some code to the end of my launcher page that looks like this:
window.opener = self;
window.opener.close();
This works on some machines but not on others and I do not know why. Is there some way to tell IE that this is an Intranet application and that its ok for me to be able to close that window myself?
Thanks in advance for any help you can offer.
-Greg