用parent.exit();
<a href=\"javascript:parent.exit()\">

解决方案 »

  1.   

    你好hookee, 试了一下,还是不能关闭啊。你那里可以吗?
      

  2.   

    貌似不可以,我试了下,还是不走exit()事件
      

  3.   

    我在ie7下试过可以啊,弹出exit,popup就hide了.
      

  4.   

    <a href=\"javascript:void(0)\" onclick=\"exit()\">
    改成这试试
      

  5.   

    0 错了
    是<a href=\"javascript:parent.exit();\" onclick=\"javascript:parent.exit();\">
      

  6.   

    我这是IE6,看来版本太低了。。把exit()换成alert('hello!')也不行啊,根本就不响应单击事件:(
      

  7.   

    可以了,谢谢deninghe。谢谢大家!!