iframe自适应高度和宽度
2009-09-04 13:23
253 查看
高度
<iframe name="frameName" src="you url" frameborder="0" scrolling="auto" width="100%" height="100%" onload="this.height=frameName.document.body.scrollHeight" ></iframe>
宽度
<iframe name="frameName" src="you url" frameborder="0" scrolling="auto" width="100%" height="100%" onload="this.width=frameName.document.body.scrollWidth" ></iframe>
<iframe name="frameName" src="you url" frameborder="0" scrolling="auto" width="100%" height="100%" onload="this.height=frameName.document.body.scrollHeight" ></iframe>
宽度
<iframe name="frameName" src="you url" frameborder="0" scrolling="auto" width="100%" height="100%" onload="this.width=frameName.document.body.scrollWidth" ></iframe>
相关文章推荐
- iframe 自适应高度和宽度
- iframe自适应高度和宽度 全css实现无javascript
- iframe高度/宽度自适应(使用body而不是docuemntElement对象)
- iframe自适应高度和宽度 全css实现无javascript
- js控制iframe的高度/宽度,自适应内容。
- iframe自适应宽度高度
- 简单的iframe自适应高度和宽度
- iframe高度宽度自适应(转)
- js控制iframe的高度/宽度让其自适应内容
- js控制iframe的高度/宽度让其自适应内容
- javascript原生和jquery库实现iframe自适应高度和宽度
- iframe自适应宽度、高度 ie6 7 8,firefox 3.86下测试通过
- js控制iframe的高度/宽度,自适应内容
- iframe自适应宽度和高度
- Iframe 自适应高度宽度
- iframe宽度自适应 并按比例调整高度
- iframe的宽度和高度自适应
- <iframe>标签自适应高度和宽度
- iframe自适应宽度和高度,没有滚动条
- iframe高度宽度自适应