function resize() { document.getElementById("olList").style.height = document.body.clientHeight - 65; if (!Ext.isIE) { window.parent.document.getElementById("logFrame").height = window.parent.document.body.clientHeight - 188; } } window.onresize = resize; resize(); 在iframe中的jsp中插入以上代码,当然要针对当前的情况进行适当的改动