<script language="JavaScript" type="text/JavaScript">
<!--
function SetCwinHeight()
{
var cwin=document.getElementById("cwin");
if (document.getElementById){
if (cwin && !window.opera){
if (cwin.contentDocument && cwin.contentDocument.body.offsetHeight)
cwin.height = cwin.contentDocument.body.offsetHeight;
else if(cwin.Document && cwin.Document.body.scrollHeight)
cwin.height = cwin.Document.body.scrollHeight;
}
}
}
</script>
<IFRAME name="cwin" border=0 marginWidth=0 marginHeight=0 src="tt1.php" frameBorder=no width=570 scrolling=no height=558 οnlοad="Javascript:SetCwinHeight()"></IFRAME>
iframe里面 怎么让页面的大小自动调整到框架的大小
最新推荐文章于 2022-06-09 13:13:11 发布