To all,

This code *will not work in IE6 when trying to replace the contents of
another frame. It used to work great in IE5 and IE5.5. Any work arounds or
suggestions would be great. It works fine when you use it to replace the
current document (document.open("text/html", "replace")). I even moved the
script to the other frame and called it from the other and it still
doesn't work.

*will not work means it adds the new contents to the history when it should
be replaced.

<script>
function replace(){
var oNewDoc = parent.frames.rightFrame.document.open("text/html",
"replace");
var sMarkup = "<HTML><HEAD><TITLE>New Document</TITLE><BODY>Hello,
world</BODY></HTML>";
oNewDoc.write(sMarkup);
oNewDoc.close();
}
</script>


Thanks,
GaryB