1 <script type="text/javascript"> 2 function SetWinHeight(obj) { 3 var win = obj; 4 if (document.getElementById) { 5 if (win && !window.opera) { 6 if (win.contentDocument && win.contentDocument.body.offsetHeight) 7 win.height = win.contentDocument.body.offsetHeight; 8 else if (win.Document && win.Document.body.scrollHeight) 9 win.height = win.Document.body.scrollHeight; 10 } 11 } 12 } 13 </script> 14 15 id=win name=win
时间: 2024-10-07 18:08:21