怎樣是彈出的新窗口根據網頁內容的多少來自動調節自身大小? 使文字剛好充滿窗口,不出現滾動條。<body id=xh topmargin=0 leftmargin=0 marginwidth=0 marginheight=0> <p>測試<p>測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試 <p>測試<p>測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試 <p>測試<p>測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試 <p>測試<p>測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試測試
<script> window.resizeTo(xh.scrollWidth+20,xh.scrollHeight+150) </script> </body>
|