<iframe src="<%=retUrl %>" id="addstaticFileIframe" οnlοad="doucumentTsingdao.iFrameHeight()" name="addstaticFileIframe" frameBorder=0 scrolling=auto width="100%">
</iframe>
//iframe自适应高度
iFrameHeight:function(){
try{
var ifm=document.getElementById("addstaticFileIframe");
var subWeb=document.frames?document.frames["addstaticFileIframe"].document:ifm.contenrDocument;
if(ifm!=null && subWeb!=null){
ifm.height=subWeb.body.scrollHeight+20;
}
}catch(error){
//doucumentTsingdao.iFrameHeight();
alert("请联系管理员:"+error.message);
//window.close();
}
},
</iframe>
//iframe自适应高度
iFrameHeight:function(){
try{
var ifm=document.getElementById("addstaticFileIframe");
var subWeb=document.frames?document.frames["addstaticFileIframe"].document:ifm.contenrDocument;
if(ifm!=null && subWeb!=null){
ifm.height=subWeb.body.scrollHeight+20;
}
}catch(error){
//doucumentTsingdao.iFrameHeight();
alert("请联系管理员:"+error.message);
//window.close();
}
},