ZhipSoft.com
              冬去春來
                  鄭重聲明:本Blog純屬個人學習、工作需要,記錄相關資料。請不要發表任何有人身攻擊的言論,謝謝?。?/font>www.ZhipSoft.com
          posts - 94,comments - 149,trackbacks - 0

          <script language="javascript">
           //關閉窗口時自動退出
           function  window.onbeforeunload(){
            if(event.clientX>360&&event.clientY<0||event.altKey){  
             //alert("dddddddddd");
             Logout();
            }  
           }  
           function  Logout(){  
               try{  
               xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");  
               }catch(e){  
               xmlHttp = new XMLHttpRequest();  
               }  
               //數據傳輸,flase為非異步方式
               xmlHttp.open("post","enter.asp?Active=Logout",true);  
               xmlHttp.send(null);  
           }  
          </script>  



                  本Blog純屬個人學習、工作需要,記錄相關資料。請不要發表任何有人身攻擊的言論,謝謝! www.zhipsoft.cn
          posted on 2007-06-13 09:36 ZhipSoft 閱讀(1590) 評論(0)  編輯  收藏 所屬分類: JavaScript
          主站蜘蛛池模板: 浠水县| 沾益县| 谢通门县| 即墨市| 陕西省| 拜城县| 中西区| 湘潭市| 太康县| 凌海市| 萝北县| 平陆县| 桑植县| 阜城县| 巢湖市| 民县| 方城县| 金坛市| 哈尔滨市| 岗巴县| 习水县| 平泉县| 德江县| 墨竹工卡县| 芜湖市| 灵宝市| 德钦县| 韩城市| 德化县| 丰原市| 祁连县| 望江县| 汝南县| 杂多县| 仁怀市| 达日县| 永仁县| 宾川县| 喀什市| 长宁区| 南平市|