怎樣是彈出的新窗口根據(jù)網(wǎng)頁內容的多少來自動調節(jié)自身大小? 使文字剛好充滿窗口,不出現(xiàn)滾動條。<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>
|