Forum Moderators: open
function azienda()
{
document.write("<iframe name='ifr' src='C:/Documents and Settings/Stefano/Documenti/Web/radu/index_anc/azienda_anc.htm' width=510 height=260 scrolling=no frameborder=0>");
document.write("</iframe>");
document.write("<a href='index.htm'></a>");
}
<iframe name='ifr' src='C:/Documents and Settings/Stefano/Documenti/Web/radu/index_anc/azienda_anc.htm' width=510 height=260 scrolling=no frameborder=0>
</iframe>
in the page and not in a function surely that would work. Either that or I have misunderstood your query completly and need some more of an explanation.
try adding a spacer such as <div id="boo"></div>
and then
document.all("boo").innerHTML = "<iframe name='ifr' width=510 height=260 scrolling=no frameborder=0></iframe>";
document.all("ifr").contentWindow.document.location = "temp.asp"
By the way - this cose is specific to IE 6 and 5.5
- NS6 uses .contentDocument and IE5 uses .document instead of .contentWindow.document