摘要: 在火狐、IE中让iframe自适应高度的js函数,以及由于iframe页面css设置而引发的bug。适合IE、火狐的自适应高度的JavaScript代码:view plaincopy to clipboardprint?function turnHeight(iframe) { var frm = document.getElementById(iframe); var subWeb = document.frames ? document.frames[iframe].document : frm.contentDocument; if(frm != null && subW 阅读全文
posted @ 2012-01-09 13:52 awp110 阅读(263) 评论(0) 推荐(0) 编辑