实用框架(iframe)操作代码(2)
复制代码 代码如下: 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";
}
精彩图集
精彩文章