Site Navigation - Breadcrumbs

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([url removed, login to view]("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 & " > [" & [url removed, login to view](lstrPathAry(llngIndex)) & "]()"


BreadCrumbs = lstrHTML & " >"

## Deliverables

1) create a sample to demo.

## Platform

Win2k, IIS, ASP

Habilidades: ASP, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Veja mais: hb, handbook, asp brazil, breadcrumbs navigation, script navigation, brazil php, iis folder server, php brazil, split folder, site navigation asp, site navigation, sample asp script, folder variable, breadcrumbs asp, breadcrumbs, asp breadcrumbs, create iis site, asp script directory, iis create site php, iis create php site, iis site name, modify variable php, dim dim php, iis sample, create site iis

Acerca do Empregador:
( 0 comentários ) United States

ID do Projeto: #2972841