?? inputcss.js
字號:
window.onload = function()
{
var txtInput = document.getElementsByTagName("input");
for(var i=0; i<txtInput.length; i++){
switch(txtInput[i].type){
case "button":
if(txtInput[i].className.substr(0,6)!="button"){
txtInput[i].className ="btn_2k3";
}
break;
case "password":
txtInput[i].className="inputText";
txtInput[i].onfocus=function(){this.className = "inputTextFocus"} ;
txtInput[i].onblur=function(){this.className = "inputText"} ;
break;
case "text":
txtInput[i].className="inputText";
txtInput[i].onfocus=function(){this.className = "inputTextFocus"} ;
txtInput[i].onblur=function(){this.className = "inputText"} ;
break;
case "file":
txtInput[i].className ="btn";
break;
case "submit":
txtInput[i].className ="btn_2k3";
break;
case "file":
break;
case "reset":
txtInput[i].className ="btn_2k3";
break;
default:
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -