📄 normalfunc.js
字号:
// Only used in Assistant !!!
function SelectAll( UporDN ){
var value, i;
value = document.all("SelAll_" + UporDN).checked;
//document.all( "SelAll_UP" ).checked = value;
document.all( "SelAll_DN" ).checked = value;
for(i=1;i<30;i++){
if (document.all("Item_" + i) != null) document.all("Item_" + i).checked = value;
}
return true;
}
function SelectCount( ){
var cnt, i;
cnt = 0;
for(i=1;i<30;i++){
if (document.all("Item_" + i) != null) {
if (document.all("Item_" + i).checked) cnt++;
}
}
return cnt;
}
function TurnPage(page)
{
frmSearch.page.value = page;
frmSearch.submit();
}
function GetDate(objName)
{
var d;
d = window.showModalDialog("../../INC/MWDate.ASP?Date=" + objName.value,"","dialogWidth:216px;dialogHeight:270px;status:no;");
if(d == "Cancel"){
objName.value = "";
}else{
if(d != null) objName.value = d;
}
}
//获得Industryid
function GetIndustryID(objID,objName)
{
var d;
d = window.showModalDialog("../../INC/levellistcreator.ASP","","dialogWidth:230px;dialogHeight:270px;status:no;");
if(d == "Cancel"){
objID.value = "";
objName.value = "";
}else{
if(d != null)
{
var arr = d.split(",");
objID.value = arr[0];
objName.value = arr[1];
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -