复制代码代码如下所示:
Function SetCwinHeight (obj) {
var obj CWIN =;
如果(文件。getElementById){
如果(超赢!窗口(歌剧){
如果(cwin.contentdocument超赢。contentdocument。身体。offsetheight)
cwin.height = cwin.contentdocument.body.offsetheight + 30;
如果(cwin.document CWIN。文件。身体。scrollheight)
cwin.height = cwin.document.body.scrollheight + 30;
}
}
}

复制代码代码如下所示:
< iframe id=iframeid_help 没有滚动= onload =Javascript:SetCwinHeight(这个)
width=670pxstyle=边境:0px边框=0>