?? person.js
字號:
/**
* 登陸驗證
* Songzou
*
***/
function checkLogin(obj){
if(checkEmptys("loginUserCode","請填寫登陸帳戶!")){return ;}
if(checkEmptys("loginPassword","請填寫登陸密碼!")){return ;}
if(checkEmptys("charRandomCode","請填寫驗證碼!")){return ;}
var sFeatures = "toolbar=no, menubar=no, scrollbars=yes, resizable=yes, "
+ "location=no, status=no,titlebar=no, width=" + (screen.width) + ", "
+ "height=" + (screen.height) + ", top=0, left=0";
var winName = 'main' + randomNum();
window.open("about:blank", winName, sFeatures);
var loginForm = obj.form;
loginForm.target = winName;
loginForm.submit();
window.self.opener = null;
window.self.close();
}
function seeRandomCode(){
window.frames['img'].location.reload();
//var url = "loginAction.do" ;
//var para = "method=loginCheckCode" ;
//MyAjax(url,para,'post',showSeeRandom) ;
}
function showSeeRandom(thisResponse){
alert(getObject('img').children[0].src);
alert(thisResponse.responseStream);
getObject('img').innerHTML = thisResponse;
getObject('img').children[0].src = thisResponse.responseStream;
}
///**
//* 登出
//* Songzou
//*
//**/
//function loginOut(){
// if(confirm('確定要退出麼?')){
// link('loginAction.do?method=loginOut');
// }
//}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -