📄 uslist.js
字号:
// JScript 文件
function AllCheck(obj)
{
var inputList = document.Form1.getElementsByTagName("INPUT");
for(var i=0;i<inputList.length;i++)
{
if(inputList[i].type=='checkbox')
{
if(obj.id!= inputList[i].id)
{
inputList[i].checked=obj.checked;
}
}
}
}
var tr=null;
function select_item(strid)
{
var id=strid.toString();
if (id!="")
{
if (tr!=null)
{
tr.style.backgroundColor="";
}
var the_obj = event.srcElement;
if(the_obj.tagName.toLowerCase()=="td")
{
the_obj=the_obj.parentElement;
the_obj.style.backgroundColor=the_obj.oBgc;
the_obj.style.backgroundColor="#CCCCCC";
tr = the_obj;
}
}
}
function on_over()
{
var the_obj = event.srcElement;
if(the_obj.tagName.toLowerCase()=="td")
{
the_obj=the_obj.parentElement;
the_obj.style.backgroundColor=the_obj.oBgc;
if(the_obj!=tr)
the_obj.style.backgroundColor="#CCCCCC";
the_obj.style.cursor='hand';
}
}
function on_ount()
{
var the_obj = event.srcElement;
if(the_obj.tagName.toLowerCase()=="td")
{
the_obj=the_obj.parentElement;
the_obj.style.backgroundColor=the_obj.oBgc;
if(the_obj!=tr)
the_obj.style.backgroundColor='';
}
}
function winopen(url)
{
parent.rightList.location.href=url;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -