使 iframe 自适应高度
<script language="javascript">
function toppage()
{
parent.document.all(self.name).style.height=(document.body.scrollHeight>450)?document.body.scrollHeight:450;
}
</script>
<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" onload="toppage()" >
function toppage()
{
parent.document.all(self.name).style.height=(document.body.scrollHeight>450)?document.body.scrollHeight:450;
}
</script>
<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" onload="toppage()" >