images/menu.js

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

var bV=parseInt(navigator.appVersion);
NS4=(document.layers) ? true : false;
IE4=((document.all)&&(bV>=4))?true:false;
ver4 = (NS4 || IE4) ? true : false;


firstInd=0;


function MItem(aURL,dispText,helpText,parent,level,isLeaf)
{
	this.aURL = aURL;
	this.dispText = dispText;
	this.helpText = helpText;
	this.parent = parent;
	this.level = level;
	this.isLeaf = isLeaf;
	this.visible = false;
	this.expanded = false;
	return this;
}




function arrange() {
	if (NS4){
		nextY = document.layers[firstInd].pageY + document.layers[firstInd].document.height;
		for (i=firstInd+1; i<document.layers.length; i++) {
			whichEl = document.layers[i];
			if (whichEl.visibility != "hide") {
				whichEl.pageY = nextY;
				nextY += whichEl.document.height;
			}
		}
	}
}





function ShowMenuItem(idx)
{
	menuItems[idx].visible = true;
	if (IE4)
		document.all["menu"+idx].style.display="block";
	else if (NS4){
		document.layers[idx].visibility="show";
	}
}
function HideMenuItem(idx)
{
	menuItems[idx].visible = false;
	if (IE4) document.all["menu"+idx].style.display="none";
	else if (NS4) document.layers[idx].visibility="hide";
}



后面还有 169 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。