龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > Javascript编程 >

实用框架(iframe)操作代码(2)

时间:2014-10-24 12:13来源:网络整理 作者:网络 点击:
分享到:
复制代码 代码如下: window.onload = function() { parent.document.getElementById('customiframe').style.height = document.body.clientHeight + "px"; }

复制代码 代码如下:

window.onload = function() {
 parent.document.getElementById('customiframe').style.height = document.body.clientHeight + "px";
}

精彩图集

赞助商链接