close 不弹出对话框

<script type="text/javascript">
function closeWin(){
   window.open("","_self");
   window.top.opener=null;
   window.top.close();
 }
</script>
<a href="javascript:closeWin();" target="_self">关闭</a>
posted @ 2010-02-17 16:09  tangself  阅读(199)  评论(0编辑  收藏  举报