To show hyperlink to content of folder you need to change lines
46-50 in
Files.asp from:
Code:
For Each objSubDirectory In objDirectory.SubFolders
Response.Write "oNodes[" & I & "] = new node(
I = I + 1
Next
to
Code:
For Each objSubDirectory In objDirectory.SubFolders
Response.Write "oNodes[" & I & "] = new node(
I = I + 1
Next
and implement yourself
ShowFolderContent.asp page which will show the content of folder.
To add expanding tree on click you should add
actionOnClick handler on lines
260 in
toc.asp:
Code:oA = document.createElement("a");
//It should be like actionOnClick('tnXXXX')
oA.onclick = new Function("actionOnClick('tn" + nodeId + "')");
if (sHref!=""){
//Combine full path from baseHref and relative path
//If you want to use full pathes (not relative) just
//assing to baseHref empty string
oA.href = oData.baseHref + sHref;
}
Best regards,
Fedor Skvortsov