try the following methods:<OBJECT  id=hh  type="application/x-oleobject" width=0 height=0
  classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
  <PARAM name="Command" value="Close">
</OBJECT>
<A HREF="#" onclick="hh.Click()">CLOSE ME</A><BR>
<A HREF="#" onclick="javascript:window.opener=null;window.close();">CLOSE</A>
<object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" id=closewin></object>
<input type="button" value="close" onclick="closewin.ExecWB(45,1)">

解决方案 »

  1.   

    <OBJECT  id=hh  type="application/x-oleobject" width=0 height=0
      classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
      <PARAM name="Command" value="Close">
    </OBJECT>
    <A HREF="#" onclick="hh.Click()">CLOSE ME</A><BR>
    <A HREF="#" onclick="javascript:window.opener=null;window.close();">CLOSE</A>
    <object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" id=closewin></object>
    <input type="button" value="close" onclick="closewin.ExecWB(45,1)">
      

  2.   

    在window.close()之前加window.opener=null;
      

  3.   

    <a href="javascript:window.close()">close</a>
    这个帖子左下方就有一个“关闭窗口”的联接                                                       \
                                                            \
                                                     这个方向\
                                                              \
                                                              \|/
      

  4.   

    <input type=button value=关闭 onclick="window.opener='meizz';window.close()">
    <!-- IE5.5+ 不会有弹出提示 --><OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
    <input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)>
    <!-- IE5.5+ 不会有弹出提示 -->
      

  5.   

    <OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
    这个方法如果有最新版本的hhctrl.ocx的话它就会弹出一个对话框"这个方法只能帮助中使用"
    有什么办法?
      

  6.   

    window.parent=null
    window.close()
      

  7.   

    sorry !写错拉
    window.opener=null
    window.close()
      

  8.   

    saucer(思归, MS .NET MVP) ( ) 的方法我刚刚都试过了!!
    全能OK!
      

  9.   

    <A HREF="#" onclick="javascript:window.opener=null;window.close();">CLOSE</A>
    好象只有在IE6才能行,我试过IE5,好象不行啊!