📄 common.js
字号:
function setpage(newPage)
{
if ((document.all.pageIndex.value=="") ||(document.all.pageIndex.value!=newPage))
{
document.all.pageIndex.value=newPage;
document.all.Event.value = "false";
document.forms[0].submit();
}
}
function DeleteRow() {
var tr = window.event.srcElement;
while ((tr.tagName!="TR")&&(tr.parentElement!=null))
{
tr=tr.parentElement;
}
if (tr.tagName=="TR")
{
tr.style.display="none";
}
}
function Deletedeth() {
var tr = window.event.srcElement;
while ((tr.tagName!="TR")&&(tr.parentElement!=null))
{
tr=tr.parentElement;
}
if (tr.tagName=="TR")
{
window.location.reload()
}
}
//移上整行背影变色
function OverColor(){
var the_obj = event.srcElement;
if(the_obj.tagName.toLowerCase() == "td"){
the_obj=the_obj.parentElement;
the_obj.oBgc=the_obj.currentStyle.backgroundColor;
the_obj.oFc=the_obj.currentStyle.color;
the_obj.style.backgroundColor='#E8F5FF';
// the_obj.style.color='blue';
// the_obj.style.textDecoration='underline';
}
}
function OutColor(){
var the_obj = event.srcElement;
if(the_obj.tagName.toLowerCase() == "td"){
the_obj=the_obj.parentElement;
the_obj.style.backgroundColor= '#ffffff'
// the_obj.style.backgroundColor=the_obj.oBgc;
// the_obj.style.color=the_obj.oFc;
// the_obj.style.textDecoration='';
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -