?? menuclick.js
字號:
// menuClick.js
// newFunction
function gwpOpen(url) {
//alert(url);
window.parent.parent.frames("main").location = url;
}
function gwpTopOpen(url) {
window.top.location.href = url;
}
var stickStatus = false;
function showLeftTree(divEl, show) {
if (stickStatus == false) {
if (show) {
divEl.className = "divtreeshow";
}
else {
if(window.event.clientX>140){
divEl.className = "divtree";
}
}
}
}
function stickLeftTree(divEl, stickImg, stickSrc, stickupSrc) {
stickStatus = !stickStatus;
setCookie("stickStatus", (stickStatus ? "true" : "false"), null, "/");
if (stickStatus) {
divEl.className = "divtreestick";
stickImg.src = stickSrc;
stickImg.alt = '活動菜單';
document.getElementById("seprator").style.display = "none";
}
else {
divEl.className = "divtreeshow";
stickImg.src = stickupSrc;
stickImg.alt = '固定菜單';
document.getElementById("seprator").style.display = "";
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -