3.default.htm
<html>
<head>
<title>javascript Tree Control Template</title>
</head>
<frameset cols=""210,*"">
?<frame src=""tree.asp"" name=""TOC"">
?<frame src=""main.htm"" name=""basefrm"">
</frameset>
</html>
4.main.htm
<head><title></title></head>
<body>
<h2>Start Page</h2>
</body>
</html>
5.tree.asp
Set conn = Server.CreateObject(""ADODB.Connection"")
Set Rs = Server.CreateObject(""ADODB.Recordset"")
conn.open ""DRIVER=Microsoft Access Driver (*.mdb);DBQ="" & Server.MapPath(""toc.mdb"")
strsql = ""SELECT tblCategory.Root, tblCategory.[ID], tblCategory.Sort AS CatSort, tblPages.sort AS LinkSort, tblCategory.[Name] AS CatName, tblCategory.HREF AS CatURL, tblPages.[Name] AS LinkName, tblPages.href AS LinkURL FROM tblCategory LEFT JOIN tblPages ON tblCategory.[ID] = tblPages.[ID] ORDER BY tblCategory.root ASC, tblCategory.Sort, tblPages.sort""
rs.open strsql, conn, 2, 2
if not rs.eof then rs.movefirst
currentID = """" %>
<html>
<head>
<link rel=""stylesheet"" href=""ftie4style.css"">
<!-- Infrastructure code for the tree -->
<script src=""ftiens4.js""></script>
<!-- Execution of the code that actually builds the specific tree -->
<script>
USETEXTLINKS = 1
<%
Do While Not Rs.EOF
If Rs(""Root"") = True Then %>
foldersTree = gFld(""<%= Rs(""CatName"") %>"", ""<%= Rs(""CatURL"") %>"")
<% Else %>
aux1 = insFld(foldersTree, gFld(""<%= Rs(""CatName"") %>"", ""<%= Rs(""CatURL"") %>""))
<% currentID = Rs(""ID"")
savedID = Rs(""ID"")
Do While currentID = savedID and not rs.eof
if Rs(""LinkName"") <> """" Then %>
insDoc(aux1, gLnk(0, ""<%= Rs(""LinkName"") %>"", ""<%= Rs(""LinkURL"") %>""))
<%
end if
Rs.MoveNext
if not rs.eof then currentID = Rs(""ID"")
Loop
End If
if currentID = """" then rs.movenext
Loop %>
</script>
<script>
initializeDocument()
</script>
<base target=""basefrm"">
<title></title>
</head>
<body bgcolor=""white"">
</body>
</html>
Python及Pycharm安装教程 1.首先呢选择一个默认浏览器我一直觉得Google不错平时...
** 文章目录 一、Spring综述 1.1 jdk环境依赖 1.2 Spring介绍 二、IOC理论推导 2...
$str = '中华人民共和国123456789abcdefg'; echo preg_match("/^[\u4e00-\u9fa5_...
event.keycode值大全 1 keycode 8 = BackSpace BackSpace 2 keycode 9 = Tab Tab...
一个很常见的 ASP 问题 : “如何定时工作流程执行网页”, 之所以会问这个问题大...
1. 写在前面的话 ??天天都在PC端运行Python代码的我今天突然灵光一现想着是不是...
本文实例讲述了php回调函数处理数组操作。分享给大家供大家参考,具体如下: arr...
问题现象 客户在初试用友云音时部署完探针后发现启动agent后并未在主机页签中注...
% Dim write Dim fileSysObj, tf, read read = "intels.txt" ' 读取 intels.txt....
? 目前应用系统的最大瓶颈出现在数据库主要是基于数据库的逻辑存储结构和磁盘的...