I wrote a custom tag that asks for breadcrumbtitle, breadcrumblink, and a
level. The level is actually the position in the trail.

This custom tag creates the breadcrumbs trail for each page that calls it.
Breadcrumbs are stored in a session scoped structure.

A couple examples of calling it are below. Everything after "level" is
optional for displaying the breadcrumbs. The first call can also display a
little home icon and link it.

                    <cf_breadcrumbs
                      homelink="/agent/index.cfm"
                      homeicon="/images/home_icon.gif"
                      level="1"
                      breadcrumbtitle="join agency" 
                      breadcrumblink="#REReplace(CGI.SCRIPT_NAME,
"[^/]+\.cfm.*", "")#index.cfm?fuseaction=agyattach" 
                      tabledisplay = "0"
                      cellcolor="black"
                      linkclass="breadcrumb"
                      linkcolor="white"
                      nonlinkclass="smalltext"
                      nonlinkcolor="white">

<cf_breadcrumbs
    breadcrumbtitle="my links" 
    breadcrumblink="#REReplace(CGI.SCRIPT_NAME, "[^/]+\.cfm.*",
"")#index.cfm"
    level="2">
    tabledisplay = "1"
    cellcolor="black"
    linkclass="breadcrumb"
    linkcolor="white"
    nonlinkclass="smalltext"
    nonlinkcolor="white">

--
Jeffrey B. Marsh
No job is so simple that it can't be done wrong.



 -----Original Message-----
From:   Nathan Shaw [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, August 08, 2000 7:14 AM
To:     [EMAIL PROTECTED]
Subject:        OT: 2 questions - Breadcrum nav and hosting

Two ?'s for everyone:

1) Has anyone implemented 'breadcrumb' navigation using CF, particularly
FuseBox? How did you do it? I am looking to use it and am currently using
cgi vars to find out where you are and display the correct path, but am
figuring there is probably a better way. I don't want to use a session
system that breaks if the user uses the 'back' button however! (If you don't
know what breadcrumb navigation is go look at
<http://www.builder.com/Programming/Dhtml/?tag=st.bl.3881.dir1.bl_Dhtml>.
See the nav in the green box telling you where you are?)

2) I know this topic has come up numerous times, but I am looking for a CF
host that offers SQL Server 7. I need to start out on a shared box because
of price constraints (looking to stay under $100/month), but I want the host
to offer dedicated servers and co-location so when I make that move it will
be easier.

TIA - Nate
-----------------------------------------------
Nathan Shaw
Web Designer/Developer





_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html

----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to