A
Antony Scerri
Hi
I have a Windows 2000 Server machine, which is running IE6 SP1 (with all the
available patches). The problem is that when clicking on links which use
JavaScript to open a new window, with a name. Clicking the link a second
time will open another window, and not reuse the same named window. I have
been looking all over the place for possible fixes, and have not succeeded
in finding a fix. A simple example of this problem is included below. If you
create a HTML file with this in, and open it in a browser, clicking on the
"Go" link will open a small popup window, which if you click the "Go" link
again should simply be brought to the front. However on my machine I get
another popup window each time. I have several other machines running IE6,
same build, same patches, and same versions of the DLLs that IE uses (based
on MSINFO32.EXE report). I have also scoured the registry to compare the
machines and cannot find any significant difference that could account for
this.
Has anyone else come across this problem, and found a solution for it? I
know there is a recommendation for developers to use the object returned
from the call to window.open, but as I am not the developer of the website
where this problem is exhibited I would like ot fix my machine if possible.
I have tried repairing the installation of IE6, but as it was done using
IEAK its a little difficult to actualy do that much.
Thanks
Tony
---------EXAMPLE----------
<html>
<script language="Javascript1.2">
function go()
{
var w=window.open("","mine","height=100,width=100");
w.focus();
}
</script>
<body>
<a href="javascript:go();">Go</a>
</body>
</html>
I have a Windows 2000 Server machine, which is running IE6 SP1 (with all the
available patches). The problem is that when clicking on links which use
JavaScript to open a new window, with a name. Clicking the link a second
time will open another window, and not reuse the same named window. I have
been looking all over the place for possible fixes, and have not succeeded
in finding a fix. A simple example of this problem is included below. If you
create a HTML file with this in, and open it in a browser, clicking on the
"Go" link will open a small popup window, which if you click the "Go" link
again should simply be brought to the front. However on my machine I get
another popup window each time. I have several other machines running IE6,
same build, same patches, and same versions of the DLLs that IE uses (based
on MSINFO32.EXE report). I have also scoured the registry to compare the
machines and cannot find any significant difference that could account for
this.
Has anyone else come across this problem, and found a solution for it? I
know there is a recommendation for developers to use the object returned
from the call to window.open, but as I am not the developer of the website
where this problem is exhibited I would like ot fix my machine if possible.
I have tried repairing the installation of IE6, but as it was done using
IEAK its a little difficult to actualy do that much.
Thanks
Tony
---------EXAMPLE----------
<html>
<script language="Javascript1.2">
function go()
{
var w=window.open("","mine","height=100,width=100");
w.focus();
}
</script>
<body>
<a href="javascript:go();">Go</a>
</body>
</html>