I need to modify the script to use a variable for a folder name instead of the actual folder name that is used in the directory structure? Forinstance, right now when I run it on my site I get:
Home > br > hb > page1
I need to have it look like:
Home > brazil > handbook > page1
here is the script:
Function BreadCrumbs()
Dim lstrPathAry
Dim llngMaxIndex
Dim lstrPath
Dim lstrHTML
Dim strFolder
lstrPathAry = Split([login to view URL]("PATH_INFO"), "/")
llngMaxIndex = UBound(lstrPathAry) - 1
lstrHTML = ""
lstrPath = "/"
lstrHTML = lstrHTML & "[Home]()"
For llngIndex = 1 To llngMaxIndex
lstrPath = lstrPath & [Server][1].URLPathEncode(lstrPathAry(llngIndex)) & "/"
lstrHTML = lstrHTML & " > [" & [login to view URL](lstrPathAry(llngIndex)) & "]()"
Next
BreadCrumbs = lstrHTML & " >"
## Deliverables
1) create a sample to demo.
## Platform
Win2k, IIS, ASP