S
seans
Hi, please can somebody help me with this? I have a HTML document
displayed in an iframe. Controls on the HTML page are data bound to an
XML file. I use a drop-down list to move between the different
recordsets in the XML file and hence change the text displayed in the
HTML page.
I use JavaScript to display the contents of the iframe in a separate
window. The new window displays the HTML page. The problem is that
contents of the HTML page are always for the first recordset in the XML
file even when I change to a different recordset.
I found that if I omit the document.write from the code then it works
OK. Am I doing something wrong?
Here's the JS code:
function displayFullScreen() {
newWindow = window.open("", "newWin",
"toolbar=yes,location=no,scrollbars=no,resizeable=yes,width=screen.width,height=screen.height,left=0,top=0")
newWindow.document.write((getRframedoc()).documentElement.outerHTML)
newWindow.document.close()
}
thanks again.
sean
displayed in an iframe. Controls on the HTML page are data bound to an
XML file. I use a drop-down list to move between the different
recordsets in the XML file and hence change the text displayed in the
HTML page.
I use JavaScript to display the contents of the iframe in a separate
window. The new window displays the HTML page. The problem is that
contents of the HTML page are always for the first recordset in the XML
file even when I change to a different recordset.
I found that if I omit the document.write from the code then it works
OK. Am I doing something wrong?
Here's the JS code:
function displayFullScreen() {
newWindow = window.open("", "newWin",
"toolbar=yes,location=no,scrollbars=no,resizeable=yes,width=screen.width,height=screen.height,left=0,top=0")
newWindow.document.write((getRframedoc()).documentElement.outerHTML)
newWindow.document.close()
}
thanks again.
sean