不明白你的意思。<iframe src="another.htm" width="" height="" frameborder=0 align=""></iframe>你到底需要什么?用脚本控制页面大小?

解决方案 »

  1.   

    <script Language="JavaScript">
    function hiddenIfm(){
        window.id.style.display = "none";
    }
    </script>
    不知道有没有完成你的目标,还不是很明白你的意思!
      

  2.   

    如junyi2003(超级菜鸟) 所说的例子,在another.html的代码是这样的
         <html>
         <head>
         <title>title</title>
         <script language="javascript">
          function resizewindow(w,h) {window.resizeTo(w,h);}
         </script>
         </head>
         <body onload=resizewindow(200,600)>
          ......
         </body>
    这样我的主页面就会受到影响
      

  3.   

    <iframe src="another.htm" width="200" height="600" frameborder="1" ></iframe>指定width和height,还会受影响么?