Web/Admin/Js/rsmenu.js

(开头部分) 3KB

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

isExpanded = false;

function getIndex(el) {
   ind = null;
   for (i=0; i<document.layers.length; i++) {
	whichEl = document.layers[i];
	if (whichEl.id == el) {
	   ind = i;
	   break;
	}
   }
   return ind;
}

function arrange() {
   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 initIt(){
   if (NS4) {
	for (i=0; i<document.layers.length; i++) {
	   whichEl = document.layers[i];
		if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
	}
	arrange();
   }
   else {
	tempColl = document.all.tags("DIV");
	for (i=0; i<tempColl.length; i++) {
	   if (tempColl(i).className == "child") tempColl(i).style.display = "none";
	}
   }
}

function expandIt(el) {
   if (!ver4) return;
   if (IE4) {expandIE(el)} else {expandNS(el)}
}

function expandIE(el) { 
   whichEl = eval(el + "Child");
   whichIm = event.srcElement;

   if (whichEl.style.display == "none") {
	whichEl.style.display = "block";
	whichIm.src = "bullet-minus.gif";		
   }
   else {
	whichEl.style.display = "none";
	whichIm.src = "bullet-plus.gif";
   }
}

后面还有 70 行代码,购买后查看完整代码

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

AI 解读 AI

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

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