if Depth>0 then
for i=1 to Depth
if i=Depth then
if rsClass("NextID")>0 then
response.write "图片"
else
response.write "图片"
end if
else
if arrShowLine(i)=True then
response.write 图片"
else
response.write "图片"
end if
end if
next
end if
这里只是把思路写出来,具体实现还要靠各位自己去做了,只要把其中的图片,换成你想要的,就形成了一种树状链的效果!用来做数据量大的导航栏,是很不错的!
当然,还有很多种写法。我自己觉得这个不错,呵呵!