?? function.js
字號:
<!-- Beginning of JavaScript Code -------------------
function submitDel()
{
document.form1.submit();
}
function submitsubmit()
{
document.form2.submit();
}
function opencat(cat,img)
{
if(cat.style.display=="none"){
cat.style.display="";
img.src="../img/class2.gif";
} else {
cat.style.display="none";
img.src="../img/class1.gif";
}
}
function checkspace(checkstr) {
var str = '';
for(i = 0; i < checkstr.length; i++) {
str = str + ' ';
}
return (str == checkstr);
}
function checkuu()
{
if(checkspace(document.userlogin.username.value)) {
document.userlogin.username.focus();
alert("用戶名不能為空!");
return false;
}
if(checkspace(document.userlogin.userpassword.value)) {
document.userlogin.userpassword.focus();
alert("密碼不能為空!");
return false;
}
}
var online= new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
// -- End of JavaScript Code -->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -