iframe自适应高度(IE6、IE7、fireFox下测试通过)
2007-11-09 14:14

<script type="text/javascript" language="javascript">  
<!--  
//调整 PageContent 的高度  
function TuneHeight() {  
var frm = document.getElementById("content01");  
var subWeb = document.frames ? document.frames["content01"].document : frm.contentDocument;  
if(frm != null && subWeb != null) {
   frm.height = subWeb.body.scrollHeight;
}  
}  
//-->  
</script>

<iframe ></iframe>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
猜你喜欢
  • 2021-07-07
  • 2022-12-23
  • 2021-12-02
  • 2021-10-15
  • 2022-12-23
  • 2021-09-14
相关资源
相似解决方案