js中打开一个窗体  不需要这些  只要显示部分  怎么解决呢?

解决方案 »

  1.   

    window.showModalDialog(url,'','dialogWidth:'+width+'px;dialogHeight:'+height+'px;help:no;status:0;scroll:no; center:yes;resizable:no');
      

  2.   

    最简单的方法就是<a href="bigimg.jpg"><img src="lowimg.jpg" /></a>
    document.getElementById("mapIMG").innerHTML = "<a href='####' onclick='hiddenPic()'><img height=200 width=300 src=\"" + sUrl + "\" border=\"" +fun+ "\"></a>";