Iframe自适应
来源:互联网 发布:免费的数据恢复app 编辑:程序博客网 时间:2024/05/18 20:34
子页面中:
//listy页面,获取页面的高度。适合需要返回
window.onload = function() {
parent.document.getElementById("xztwo-iframe").style.height = document.body.clientHeight + "px";
};
//详情页面。获取滚动条高度
window.onload = function() {
parent.document.getElementById("xztwo-iframe").style.height = document.body.scrollHeight + "px";
};
parent.document.getElementById("xztwo-iframe").style.height = document.body.scrollHeight + "px";
};
1 0
- iframe自适应
- iframe 自适应
- 自适应iframe
- iframe 自适应
- iframe自适应
- iframe自适应
- iframe自适应
- iframe自适应
- iframe 自适应
- iframe自适应
- iframe 自适应
- Iframe自适应
- iframe 自适应
- 自适应IFrame(IFRAME AutoStretch)
- iframe自适应、iframe跨域自适应
- Iframe高度自适应
- iframe 的自适应高度
- 是Iframe高度自适应
- 独家报道丨黑客窃取MongoDB的数据,勒索受害者
- 说说Android应用的persistent属性
- 微信分享集成示例
- 使用Nexus搭建Maven私服
- 区分JS中的undefined,null,"",0和false
- Iframe自适应
- rabbitmq知识链接
- git常用命令
- 电容充电时间计算
- init方法只有通过代码创建控件的时候才会调用 用加载xib视图的时候 不会调用
- HTML5里面的画图标签--SVG
- centos6.8搭建LNMP
- mybatis之#{}与${}的区别
- 对象的值传递