IE5:

<OBJECT >
<PARAM name="Command" value="Close"></OBJECT>
<button onclick="clo.Click()"><font face="webdings">r</font></button>

IE5.5+

1.

<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
<input name=Button onClick=document.all.WebBrowser.ExecWB(45,1) type=button value=关闭>

2.

opener=null;
window.close();

<input type="button" onClick="window.opener="xxx";window.close();" value="IE6最简单的无提示关闭窗口" >

相关文章:

  • 2021-10-30
  • 2021-05-21
  • 2021-09-09
  • 2022-12-23
  • 2021-05-19
  • 2021-07-01
  • 2021-10-11
  • 2021-09-16
猜你喜欢
  • 2021-12-16
  • 2022-03-06
  • 2021-09-19
  • 2022-02-27
  • 2022-12-23
  • 2021-12-25
  • 2021-12-31
相关资源
相似解决方案