function SetCwinHeight(f){
var iframe=$G(f);
try{
var bHeight = iframe.contentWindow.document.body.scrollHeight;
var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
var height = Math.max(bHeight, dHeight);
iframe.height = height;
}catch (ex){}
$G(f).contentWindow.nameIncreasing();
}
js获取页面内iframe的高度
最新推荐文章于 2025-05-18 13:16:54 发布