?? navbar.js
字號:
function moveleft(mask,menu){
if(mask&&menu){
menuwidth = mask.offsetWidth
actualwidth=menu.offsetWidth
if (document.all&&menu.style.pixelLeft>(menuwidth-actualwidth))
menu.style.pixelLeft-=150
}
}
function moveright(mask,menu){
if(mask&&menu){
menuwidth = mask.offsetWidth
actualwidth=menu.offsetWidth
if(document.all&&menu.style.pixelLeft<0)
menu.style.pixelLeft+=150
}
}
orgButton = null
orgBar = null
function clickbutton(){
//alert()
ele = window.event.srcElement
while(ele){
if(ele.tagName=="TABLE"){
break;
}
ele=ele.parentElement;
}
//==================================================
CurrBtn = ele
CurrBar = ele.parentElement
if(CurrBtn.state=="off"){
if(orgButton!=null){
orgButton.state = "off"
orgButton.className = "ButtonNM"
orgBar.className = "BarTDNM"
}
orgButton = CurrBtn
orgBar = CurrBar
CurrBtn.className="ButtonClk"
CurrBar.className="BarTDClk"
CurrBtn.state = "on"
}
}
function changeCss(){
ele = window.event.srcElement
while(ele){
if(ele.tagName=="TABLE"){
break;
}
ele=ele.parentElement;
}
obj= ele
if(obj.state=="off"){
obj.orgclassName = obj.className
obj.className = "ButtonHL"
}
}
function reCss(){
ele = window.event.srcElement
while(ele){
if(ele.tagName=="TABLE"){
break;
}
ele=ele.parentElement;
}
obj= ele
if(obj.state=="off"){
obj.className = obj.orgclassName
}
}
function fnShow(obj){
url = obj.Url
window.frames("main").location.href = url + "?ID=" + document.form1.ID.value
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -