DHSchool/bak_leftframe.html
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" href="css/common.css" type="text/css" />
<title>左侧导航栏</title>
</head>
<script type="text/javascript">
var preClassName = "";
function list_sub_detail(Id,item){
if(preClassName != ""){
getObject(preClassName).className="left_back";
}
if(getObject(Id).className == "left_back"){
getObject(Id).className="left_back_onclick";
outlookbar.getbyitem(item);
preClassName = Id;
//showInnerText(Id);
}
}
//获取对象属性兼容方法
function getObject(objectId) {
if(document.getElementById && document.getElementById(objectId)) {
// W3C DOM
return document.getElementById(objectId);
} else if (document.all && document.all(objectId)) {
// MSIE 4 DOM
return document.all(objectId);
} else if (document.layers && document.layers[objectId]) {
// NN 4 DOM.. note: this won't find nested layers
return document.layers[objectId];
} else {
return false;
}
}
//自动导航栏生成
function outlook()
{
this.titlelist=new Array();
this.itemlist=new Array();
this.addtitle=addtitle;
this.additem=additem;
this.getbytitle=getbytitle;
this.getbyitem=getbyitem;
this.getdefaultnav=getdefaultnav;
}
function theitem(intitle,insort,inkey,inisdefault)
{
this.sortname=insort;
this.key=inkey;
this.title=intitle;
this.isdefault=inisdefault;
}
function addtitle(intitle,sortname,inisdefault)
{
outlookbar.itemlist[outlookbar.titlelist.length]=new Array();
outlookbar.titlelist[outlookbar.titlelist.length]=new theitem(intitle,sortname,0,inisdefault);
后面还有 109 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。