http://lucky.diy.myrice.com/javascriptexam/mengxhtrans55.htm

解决方案 »

  1.   

    to:net_lover情况还不太一样,1、我是跨域名的,2、我那触发按钮在IFRAME里面关键的问题是现在无法取到调用这个IFRAME的document对象,其实我只是想修改div层的大小
      

  2.   

    <BODY>
    <input type="button" value="Close!" onclick="document.getElementById('d').style.display='none';return true;"><br />
    <div id="d">
    <iframe width="200" height="250" src="http://www.tom.cn/"></iframe>
    </div>
    </BODY>
    </HTML>