Hi,

I'd like to do a bread crumb effect but not sure how to go about it.

I'm displaying the directory path like so:

<cfif IsDefined("updir")>
      <a href="" alt="Back">
      <cfset sr1 = #URLDecode(URLEncodedFormat(dir))#>
      <cfset sr2 = #REReplace("#sr1#","D:","","ALL")#>
      <cfset sr3 = #REReplace("#sr2#","d:","","ALL")#>
      <font class="dirlinks">#sr3#</font></a>
</cfif>

So for example, sr3 would output "\mywork\

Output listing:

\mywork\
dir1
dir2

If I click on the "dir1" link then sr3 would output "\mywork\dir1"

How can I split up the above string with anchors to be something like:

\mywork    >>    \dir1    >>   and so on?



[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to