摘要:
在主程序中用以下javascriptfunction calcIFrameHeight(id) { //find the height of the internal page var theHeight= document.getElementById(id).contentWindow. document.body.scrollHeight; //change the height of the iframe document.getElementById(id).height = theHeight + 50; }在iframe中用if (this.frameElement != nu. 阅读全文