请问:跨网域加载其他网站的网页,怎么控制页面的大小呢? 比如我有个导航的地址是搜狐的, 我用的iframe做容器
<iframe src="<bean:write name="menuData" property="menu_Action"/>" name="main_frame" scrolling="auto" frameborder="0"
marginheight="0" marginwidth="0" onload="ResizeIframe(this);" height="1000" width="100%" allowTransparency="true"></iframe>
而且,加载后不影响其他页面加载
<iframe src="<bean:write name="menuData" property="menu_Action"/>" name="main_frame" scrolling="auto" frameborder="0"
marginheight="0" marginwidth="0" onload="ResizeIframe(this);" height="1000" width="100%" allowTransparency="true"></iframe>
而且,加载后不影响其他页面加载
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货