📄 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 + -