images/menu.js
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/******************************************************************************
Crossday Discuz! Board - Floating Advertisements for Discuz!
Copyright 2001-2006 Comsenz Inc. (http://www.comsenz.com)
*******************************************************************************/
var menuslidetimer = null;
function Popup_Handler() {
this.open_steps = 2;
this.open_fade = false;
this.active = false;
this.menus = new Array();
this.activemenu = null;
this.hidden_selects = new Array();
this.activate = function(active) {
this.active = active;
}
this.register = function(clickactive, controlkey, noimage) {
this.menus[controlkey] = new Popup_Menu(clickactive, controlkey, noimage);
return this.menus[controlkey];
}
this.hide = function() {
if(this.activemenu != null) this.menus[this.activemenu].hide();
}
}
function Popup_Events() {
this.controlobj_show = function(e) {
doane(e);
clearTimeout(this.slidetimer);
if(popupmenu.activemenu == null || popupmenu.menus[popupmenu.activemenu].controlkey != this.id) {popupmenu.menus[this.id].show(this, false, popupmenu.menus[this.id].clickactive);}
}
this.controlobj_onclick = function(e) {
doane(e);
if(popupmenu.activemenu == null || popupmenu.menus[popupmenu.activemenu].controlkey != this.id) {popupmenu.menus[this.id].show(this, false, popupmenu.menus[this.id].clickactive);}
else {popupmenu.menus[this.id].hide();}
}
this.controlobj_onmouseover = function(e) {
doane(e);
popupmenu.menus[this.id].hover(this);
}
this.menuoption_onclick_function = function(e) {
this.ofunc(e);
popupmenu.menus[this.controlkey].hide();
}
this.menuoption_onclick_link = function(e) {
popupmenu.menus[this.controlkey].choose(e, this);
}
this.menuoption_onmouseover = function(e) {
this.className = 'popupmenu_highlight';
}
后面还有 318 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。