📄 editor_tree.asp
字号:
if (eval("temp." + type) == value) {
el = temp;
return el;
}
temp = temp.parentElement;
}
return el;
}
////////////////////////////////////////////////////////////////////////////////////////
// Fix the scrollbars
var globalScrollContainer;
var overflowTimeout = 1;
function fixScroll(el) {
globalScrollContainer = el;
window.setTimeout('changeOverflow(globalScrollContainer)', overflowTimeout);
}
function changeOverflow(el) {
if (el.offsetHeight > el.parentElement.clientHeight)
window.setTimeout('globalScrollContainer.parentElement.style.overflow = "auto";', overflowTimeout);
else
window.setTimeout('globalScrollContainer.parentElement.style.overflow = "hidden";', overflowTimeout);
}
function ChangeFolderImg(el,type) {
var FolderImg = eval(el.id + "Img");
if (type == 1) {
FolderImg.src="images/foldericon1.gif"
}
else {
FolderImg.src="images/foldericon2.gif"
}
}
////////////////////////////////////////////////////////////////////////////////////////
// 标签调用
//普通标签
function InsertLabel(label){
<%
Call BacktrackEditor()
%>
}
//其它标签
function InsertAdjs(type,fiflepath){
var str="";
switch(type){
case "SwitchFont":
str="<a name=StranLink href=''>切换到繁體中文</a>"
break;
case "Adjs":
break;
default:
alert("错误参数调用!");
break;
}
<% If InsertTemplate=1 Then %>
str=str+"<"+"script language=\"javascript\" src=\""+fiflepath+"\"></"+"script>"
<% Else %>
str=str+"<IMG alt='#[!"+"script language=\"javascript\" src=\""+fiflepath+"\"!][!/"+"script!]#' src=\"editor/images/jscript.gif\" border=0 $>"
<%
End if
If InsertTemplate=1 Then
Response.Write "parent.insertTemplateLabel(str," & InsertTemplateType & ");" & vbCrLf
Else
Response.write "window.returnValue =str" & vbCrLf
End if
%>
window.close();
}
//函数标签调用
function FunctionLabel(url,width,height){
var label = showModalDialog(url, "", "dialogWidth:"+width+"px; dialogHeight:"+height+"px; help: no; scroll:no; status: no");
<%
Call BacktrackEditor()
%>
}
//函数试标签
function FunctionLabel2(name){
var str,label
switch(name){
case "ShowTopUser":
str=prompt("请输入显示注册用户列表的数量.","5");
label="{$"+name+"("+str+")}"
break;
case "【ArticleList_ChildClass】":
str=prompt("循环显示文章栏目录列表:每行显示的列数","2");
if (str!=null) {
label=name+"【Cols="+str+"】{$rsClass_ClassUrl} 栏目记录集中栏目地址 {$rsClass_Readme} 说明 {$rsClass_ClassName}名称 后面请您加上您自定义的标签【/ArticleList_ChildClass】"
}
break;
case "【SoftList_ChildClass】":
str=prompt("循环显示下载栏目录列表:每行显示的列数","2");
if (str!=null) {
label=name+"【Cols="+str+"】{$rsClass_ClassUrl} 栏目记录集中栏目地址 {$rsClass_Readme} 说明 {$rsClass_ClassName}名称 后面请您加上您自定义的标签【/SoftList_ChildClass】"
}
break;
case "【PhotoList_ChildClass】":
str=prompt("循环显示图片栏目录列表:每行显示的列数","2");
if (str!=null) {
label=name+"【Cols="+str+"】{$rsClass_ClassUrl} 栏目记录集中栏目地址 {$rsClass_Readme} 说明 {$rsClass_ClassName}名称 后面请您加上您自定义的标签【/PhotoList_ChildClass】"
}
break;
case "【PositionList_Content】":
str=prompt("循环显示职位内容信息列表:每页显示的职位数","6");
if (str!=null) {
label = name + "【PerPageNum=" + str + "】说明:请在此加上人才招聘内容标签(除申请职位按钮标签{$SaveSupply})【/PositionList_Content】"
}
break;
case "DownloadUrl":
str=prompt("一行显示的列数","3");
if (str!=null) {
label = "{$"+name + "(" + str + ")}"
}
break;
case "ResumeError":
label = "\n<"+"SCRIPT LANGUAGE='JavaScript'>"
label += "\n<!--"
label += "\n function ResumeError() {"
label += "\n return true;"
label += "\n }"
label += "\n window.onerror = ResumeError;"
label += "\n // -->"
label += "\n</"+"SCRIPT>"
break;
default:
alert("错误参数调用!");
break;
}
<%
Call BacktrackEditor()
%>
}
//动态函数试标签
function FunctionLabel3(name){
str=prompt("请输入动态函数标签参数.","5");
label="{$"+name+"("+str+")}"
<%
Call BacktrackEditor()
%>
}
//超级函数标签
function SuperFunctionLabel (url,label,title,ModuleType,ChannelShowType,iwidth,iheight){
var label = showModalDialog(url+"?ChannelID=<%=ChannelID%>&Action="+label+"&Title="+title+"&ModuleType="+ModuleType+"&ChannelShowType="+ChannelShowType+"&InsertTemplate=<%=InsertTemplate%>", "", "dialogWidth:"+iwidth+"px; dialogHeight:"+iheight+"px; help: no; scroll:yes; status: yes");
<%
Call BacktrackEditor()
%>
}
</SCRIPT>
<!-- 首页 -->
<DIV class=topItem>
<IMG class=icon height=16 src="images/home.gif" style="HEIGHT: 16px">标签调用
</DIV>
<!-- 系统介绍 -->
<DIV class=favMenu id=aMenu>
<!-- 通用标签 -->
<DIV class=topFolder id=web><IMG id=webImg class=icon src="images/foldericon1.gif">网站通用标签</DIV>
<DIV class=sub id=webSub>
<!-- 网站通用普通标签 -->
<DIV class=subFolder id=subwebInsert><IMG id=subwebInsertImg class=icon src="images/foldericon1.gif"> 网站通用标签</DIV>
<DIV class=sub id=subwebInsertSub>
<DIV class=subItem onclick="InsertLabel('{$PageTitle}')"><IMG class=icon src="images/label.gif">显示浏览器的标题栏显示页面的标题信息</DIV>
<DIV class=subItem onclick="InsertLabel('{$ShowChannel}')"><IMG class=icon src="images/label.gif">显示顶部频道信息</DIV>
<DIV class=subItem onclick="InsertLabel('{$ShowPath}')"><IMG class=icon src="images/label.gif">显示导航信息</DIV>
<DIV class=subItem onclick="InsertLabel('{$ShowVote}')"><IMG class=icon src="images/label.gif">显示网站调查</DIV>
<DIV class=subItem onclick="InsertLabel('{$SiteName}')"><IMG class=icon src="images/label.gif">显示网站名称</DIV>
<DIV class=subItem onclick="InsertLabel('{$SiteUrl}')"><IMG class=icon src="images/label.gif">显示网站地址</DIV>
<DIV class=subItem onclick="InsertLabel('{$InstallDir}')"><IMG class=icon src="images/label.gif">系统安装目录</DIV>
<DIV class=subItem onclick="InsertLabel('{$ShowAdminLogin}')"><IMG class=icon src="images/label.gif">显示管理登录及链接</DIV>
<DIV class=subItem onclick="InsertLabel('{$Copyright}')"><IMG class=icon src="images/label.gif">显示版权信息</DIV>
<DIV class=subItem onclick="InsertLabel('{$Meta_Keywords}')"><IMG class=icon src="images/label.gif">针对搜索引擎的关键字</DIV>
<DIV class=subItem onclick="InsertLabel('{$Meta_Description}')"><IMG class=icon src="images/label.gif">针对搜索引擎的说明</DIV>
<DIV class=subItem onclick="InsertLabel('{$ShowSiteCountAll}')"><IMG class=icon src="images/label.gif">显示所有注册会员</DIV>
<DIV class=subItem onclick="InsertLabel('{$WebmasterName}')"><IMG class=icon src="images/label.gif">显示站长姓名</DIV>
<DIV class=subItem onclick="InsertLabel('{$WebmasterEmail}')"><IMG class=icon src="images/label.gif">显示站长Email链接</DIV>
<DIV class=subItem onclick="InsertLabel('{$MenuJS}')"><IMG class=icon src="images/label.gif">下拉栏目JS代码</DIV>
<DIV class=subItem onclick="InsertLabel('{$Skin_CSS}')"><IMG class=icon src="images/label.gif">风格CSS</DIV>
</DIV>
<!-- 网站通用函数普通标签结速标签 -->
<DIV class=subFolder id=subwebFunction><IMG id=subwebFunctionImg class=icon src="images/foldericon1.gif"> 网站通用函数标签</DIV>
<DIV class=sub id=subwebFunctionSub>
<DIV class=subItem onclick="FunctionLabel('Lable/PE_Logo.htm','240','140')"><IMG class=icon src="images/label2.gif">显示网站LOGO</DIV>
<DIV class=subItem onclick="FunctionLabel('Lable/PE_Banner.htm','240','140')"><IMG class=icon src="images/label2.gif">显示网站Banner</DIV>
<DIV class=subItem onclick="FunctionLabel2('ShowTopUser')"><IMG class=icon src="images/label2.gif">显示注册用户列表</DIV>
<DIV class=subItem onclick="FunctionLabel('Lable/PE_Annouce.htm','240','140')"><IMG class=icon src="images/label2.gif">显示本站公告信息</DIV>
<DIV class=subItem onclick="FunctionLabel('Lable/PE_Annouce2.htm','240','210')"><IMG class=icon src="images/label2.gif">显示详细公告信息</DIV>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -