bencalie
你说的不能该变大小,是真的吗

解决方案 »

  1.   

    <html>
    <STYLE>
       .aFilter { filter:Alpha(opacity=50);}
    </STYLE>
    <body>
    <div><IMG id="aa" style="position:absolute" src="logoa.gif" CLASS="aFilter" onclick="l.click()"></div>
    fgsdfgsdfggggggggggggggggggggggggggggggggggggggg
    </body>
    </html><script>
    window.dialogWidth = document.body.style.width  
    window.dialogHeight = document.body.style.height  
    </script>
      

  2.   

    对每个对话框都亲自去尝试它的高度和宽度也太麻烦了。
    难道showModalDialog()打开的对话框大小真的不能自适应内容的大小吗?