?? imgchg.js
字號:
<!--
//
// ■ 進行動態按鈕圖文件的切換動作
//
toggleKey = new Object();
toggleKey[0] = "_off";
toggleKey[1] = "_on";
toggleKey[2] = "_ovr";
toggleKey[3] = "_out";
toggleKey[4] = "_mdn";
toggleKey[5] = "_mup";
function imgChange(id,act){
if(document.images){ document.images[id].src = eval("img." + id + toggleKey[act] + ".src");}
}
// 當這段程序代碼應用到播放器使用時:(exobud.js)
// 以函式 imgChange('按鈕識別名稱',0) 進行的動作即使用 "off" 的圖檔;
// 以函式 imgChange('按鈕識別名稱',1) 進行的動作即使用 "on" 的圖檔。
if(document.images){
img = new Object();
// 顯示播放狀態的 Scope 動態圖文件 (靜止/轉動)
img.scope_off = new Image();
img.scope_off.src = "pic/scope_off.gif";
img.scope_on = new Image();
img.scope_on.src = "pic/scope_on.gif";
}
//-->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -