当前位置: 首页 > 图文教程 > 网络编程 > ASP > ASP实现结构化列举并查看某路径下所有文件

ASP
ASP中通过该日历算法实现的具体代码
ASP类编写详细说明
一个简单的asp数据库操作类
一个asp快速字符串连接类
ByVal和ByRef(编写ASP子程序所用到命令)
FSO一些代码
ASP连接11种数据库语法总结
代码与页面的分离
ASP 类专题
直接保存URL图像或网页到服务器本地的类
[原创]关于Script的Defer属性
[ASP]使用类,实现模块化
在VBScript中使用类
浅谈ASP中的类
ASP中一个用VBScript写的随机数类
文件、目录,文本文件等多种操作类
Object对象的一些的隐藏函数介绍
ASP高亮类
叶子asp分页类
遭遇ASP类的事件设计

ASP实现结构化列举并查看某路径下所有文件


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 226 ::
收藏到网摘: n/a

<style 此样式表须保留>
<!--
   u.{background-color:FEDC76;cursor:hand;}
   a{background-color:97EF53;}
   font{padding-bottom:0;padding-top:0;margin-bottom:0;margin-top:0;}
-->
</style>
<title>本站文件地图</title>
<body>
<span id=shhi style="text-align:right;width:20%;position:absolute;bottom:0">
<a href=# onclick=’jscript:if(rightf.style.display=="")rightf.style.display="none";else rightf.style.display="";return false’ style=background-color:red>Hide/Show =></a>
</span>
<div id=rightf style="height:100%;width:80%;position:absolute;right:0;top:0">
<iframe align=right name="right" scrolling=auto style="height:100%;width:100%;" src="about:blank"> </iframe>
</div>
<base target="right">

<Script language=VBScript>
<!--
Sub window_onscroll()
   rightf.style.pixelTop=document.body.scrollTop
   shhi.style.top=document.body.clientHeight+document.body.scrollTop-30
End Sub
sub DoFold(index)   ’显示与隐藏某节点的过程
   dim itm
   set itm=eval("divfold" & index)
   if itm.style.display="none" then
      itm.style.display=""
   else
      itm.style.display="none"
   end if
   set itm = document.all(itm.sourceIndex-2)
   if itm.innerText="0" then
      itm.innerText="1"
   else
      itm.innerText="0"
   end if
   set itm=document.all("itmjj" & index)
   if not itm is nothing then
        if itm.innerText="+" then
         itm.innerText="-"
      else
         itm.innerText="+"
      end if
   end if
end sub
-->
</Script>