zz13203778855 发表于 2013-1-29 08:35:08

iframe

根据iframe嵌套的页面数据多少,自适应高度的做法
<script>document.domain = "xxxx(域名).com";if(window.frameElement) window.frameElement.style.height = document.body.scrollHeight + "px";</script>
页: [1]
查看完整版本: iframe