Hi nerssi,
The following works for me
Code:
var f = document.getElementById("myIframe");
f.scrolling = "no";
f.frameBorder = "no";
f.outerHTML = f.outerHTML;
I have no idea why, maybe someone else can chip in, but in IE it won't work unless you add the line f.outerHTML = f.outerHTML; (it works fine without this line in Mozilla of course).
You can hide the frame using style.display = "none" & show it again with style.display = "inline"
HTH,
Chris