我想问一下关于iframe
怎样去在调用时,调整到一个合适的大小了。给个说明了。先谢了。

<script language="javascript"> function autoResize(){ try {document.all["test"].style.height=test.document.body.scrollHeight} catch(e){return false;} } </script> <iframe width="100%" frameborder="0" scrolling="no" id="test" style="height:expression(1); aho:expression(autoResize());" src="1.asp"></iframe>