第一篇博客 iframe自适应高度

$('iframe').load(function(){
   $(this).height($(this).contents().find(document).height())
})
这样就适应里面内容的高度了
posted @ 2014-02-23 10:46  冰凌花花~  阅读(96)  评论(0编辑  收藏  举报