function reinitIframe(){ var iframe = document.getElementById(frame_content);尝试{ var bHeight = iframe.contentWindow.document.body.scrollHeight; var dHeight = iframe.contentWindow.document.documentElement.scrollHeight; var height = Math.m
函数reinitIframe(){
var iframe = document.getElementById("frame_content");
尝试{
var bHeight = iframe.contentWindow.document.body.scrollHeight;
var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
var height = Math.max(bHeight, dHeight);
iframe.height = 高度;
}
抓住(前){}
}
window.setInterval("reinitIframe()", 200);