|
以下为引用的内容: test.asp页面head间增加如下JS代码 <SCRIPT LANGUAGE="JavaScript"> function f_frameStyleResize(targObj){ var targWin = targObj.parent.document.all[targObj.name]; if(targWin != null) { var HeightValue = targObj.document.body.scrollHeight if(HeightValue < 600){HeightValue = 600} targWin.style.pixelHeight = HeightValue; } } function f_iframeResize(){ bLoadComplete = true; f_frameStyleResize(self); } var bLoadComplete = false; window.onload = f_iframeResize; </SCRIPT> |

