跨域的话,只有在hta中可以解决.

解决方案 »

  1.   

    怎么解决! 我搜索hta 相关的东东,一无所获!小弟跪求!
      

  2.   

    <iframe src="a.html" id="f" name="f" scrolling="no" frameborder=0 marginwidth=0 marginheight=0></iframe>
    <script>
    var doc=window.frames["f"].document;
    function s(){
    if (doc.readyState=="complete"){
    document.all.f.style.height=doc.body.scrollHeight
    document.all.f.style.width=doc.body.scrollWidth
    }
    }
    doc.onreadystatechange=s
    </script>
      

  3.   

    http://www.a.com/a.htm:<iframe src="http://www.b.com/b.htm" >      
    </iframe>   ----------http://www.b.com/b.htm:<body onload="window.resizeTo(document.body.scrollWidth+10,document.body.scrollHeight+10);">
    fdsafdsafd
    </body>
      

  4.   

    JK_10000(JK) :你简直就是神仙,我对你的景仰之心有如滔滔江水,连绵不绝!