首页
印 像 新 闻 系 统
网站首页 公告信息 编程实例 PHP函数 摄影无界 全景展示 我的作品 意见专栏
 

简单的树型菜单

【2006年02月26日 13:02:13】 【阅读:次】 【字体:大 中 小 默认】 【背景:#换背景 #换背景 #换背景 #换背景 #换背景 #换背景 #换背景 默认】
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->

<%
dim rstype
dim rsbid
dim i
  set rstype=server.CreateObject("adodb.recordset") 
      rstype.open "select * from [types] order by [row]",conn,1,1
i=1
Do While i<=10
%>
<a href="javascript:void(null)" onClick="MM_callJS(document.all.a<%=i%>.style.display=(document.all.a<%=i%>.style.display==\none\?\\:\none\))" style="font-weight:bold;color:#003399;">
<% response.Write (""&rstype("type")&"</a>")%>
</a><br>
<table width="200" border="0" cellspacing="0" cellpadding="0">
 <tr  id=a<%=i%> style="display:none">
 <td width="20" height="20" align="center">&nbsp;</td>
 <td height="20">
·未审核会员<%=i%>(可换成主类下属的分类数据表的数据库!)
</td>
 </tr>
 </table>
 <%
 i=i+1
 rstype.movenext
 loop
 
 %>


(『印像空间』 【本文来源:『笔记』】 【作者:未知】 【录入:留印】)
限200字,剩余 字
关 键 字:
    
搜索条件: