摘要: 最近项目中遇到加载 iframe 标签,要求iframe根据内容自己调整高度,小研究了一下,发现这个方法蛮好用,小记一下.针对单个iframe[javascript]window.onload = function(){ var iframePage = document.getElementById('iframePage'); if(iframePage.contentDocument){ ... 阅读全文
posted @ 2010-10-19 10:19 7hihi 阅读(169) 评论(0) 推荐(0) 编辑