I want one window to open another window which then changes the URL in the
first window, Here are the 2 files, works fine on a PC running XP and IE,
doesn't work on a iMac running OSX and IE, any ideas? On the mac the calling
window just gets replaced with a blank.
--------------------------main.htm------------------------------
<html>
<body>
<script>
window.name = "MPC";
NewWindow = window.open('Ha ndleReplace.htm ',"NewWindow",' ');
</script>
</body>
</html>
------------------------------------------------------------------
--------------------------HandleReplace.h tm--------------------
<html>
<body>
<script>
windowHandle=wi ndow.open('','M PC','');
windowHandle.lo cation.replace( "http://www.bbc.com");
</script>
</body>
-------------------------------------------------------------------
This is just a stripped down example that demonstrates the problem. Please
don't ask me why I don't just go straight to the BBC website!
first window, Here are the 2 files, works fine on a PC running XP and IE,
doesn't work on a iMac running OSX and IE, any ideas? On the mac the calling
window just gets replaced with a blank.
--------------------------main.htm------------------------------
<html>
<body>
<script>
window.name = "MPC";
NewWindow = window.open('Ha ndleReplace.htm ',"NewWindow",' ');
</script>
</body>
</html>
------------------------------------------------------------------
--------------------------HandleReplace.h tm--------------------
<html>
<body>
<script>
windowHandle=wi ndow.open('','M PC','');
windowHandle.lo cation.replace( "http://www.bbc.com");
</script>
</body>
-------------------------------------------------------------------
This is just a stripped down example that demonstrates the problem. Please
don't ask me why I don't just go straight to the BBC website!
Comment