





















1 autoHeight(); 2 function autoHeight(){ 3 var tag=document.getElementById('iframe'); 4 if(tag && tag.clientHeight < tag.contentWindow.document.body.scrollHeight){ 5 tag.style.height = tag.contentWindow.document.body.scrollHeight + 'px'; 6 } 7 setTimeout("autoHeight()", 10); 8 }
posted on 2013-03-21 06:47 Bruce Tang 阅读(195) 评论(0) 收藏 举报
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。