使两个iframe的高度与内容自适应,且相等

时间:2020-12-11 12:40:42
【文件属性】:
文件名称:使两个iframe的高度与内容自适应,且相等
文件大小:19KB
文件格式:PDF
更新时间:2020-12-11 12:40:42
frame IF iframe
<iframe frameborder=”0″ scrolling=”no” name=”news1″  id=”news1″ onload=”if(document.frames[‘news1’].document.body.scrollHeight>document.frames[‘news2’].document.body.scrollHeight) document.all.news1.height=document.frames[‘news1’].document.body.scrollHeight;if(document.frames[‘n

网友评论