摘要: 经典代码 iFrame 自适应高度,在IE6/IE7/IE8/Firefox/Opera/Chrome/Safari通过测试。var ifm= document.getElementById("user_iframe"); var subWeb = document.frames ? document.frames["user_iframe"].document : ifm.contentDocument; if(ifm != null && subWeb != null) { ifm.height = subWeb.body.scrol 阅读全文
posted @ 2012-05-30 15:39 风吹倒了蕉 阅读(354) 评论(0) 推荐(0) 编辑