EquipmentManagement/Admin/bm_Tree.aspx
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="bm_Tree.aspx.cs" Inherits="Admin_bm_Tree" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>zzjg_tree</title>
<meta name ="vs_defaultClientScript" content ="JavaScript" />
<meta http-equiv ="Content-Type" content ="text/html;charset=gb2312" />
<link href="../css/style.css" rel ="stylesheet" type ="text/css" />
<script type="text/javascript">
function TreeView(obj, target) {
this.obj = obj;
this.target = 'midFrame';
this.root = new node(0);
this.nodes = []
this.currentNode = null;
this.html = ""
this.config = {
root: 'images/tree/web.gif',
open: 'images/tree/open.gif',
close: 'images/tree/close.gif',
file: 'images/tree/file.gif',
join: 'images/tree/T.gif',
joinbottom: 'images/tree/L.gif',
plus: 'images/tree/Tplus.gif',
plusbottom: 'images/tree/Lplus.gif',
minus: 'images/tree/Tminus.gif',
minusbottom: 'images/tree/Lminus.gif',
blank: 'images/tree/empty.gif',
line: 'images/tree/dd.gif'
}
for (i in this.config) { var tem = this.config[i]; this.config[i] = new Image(); this.config[i].src = tem }
}
function node(id, pid, txt, link, s, title, target) {
this.s = s
this.id = id
this.pid = pid
this.txt = txt
this.link = link
this.title = title
this.target = target
this.indent = ""
this.lastNode = false;
this.open = false;
this.hasNode = false
}
TreeView.prototype.getP = function (nid) {
var nNode = this.nodes[nid]
for (var i = 0; i < this.nodes.length; i++)
if (this.nodes[i].id == nNode.pid) return i
return null
}
TreeView.prototype.add = function (id, pid, txt, link, s, title, target) {
var itemTxt = txt ? txt : "New Item"
var itemLink = link ? link : ''
后面还有 170 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。