控制iframe的高度随内容的多而自动增加

<script language="javascript"> if (window.parent.length>0){window.parent.document.all.newtest.style.height=document.body.scrollHeight;} </script>javascript 只需在你被iframe调用的文件</body>以后加入上面这段便可!html 本身写的j
相关文章
相关标签/搜索