Ooohhh... I knew someone was going to say the word 'javascript'. Is it really so much better to use js (with which I'm not so good) than a CF solution?
> -----Original Message----- > From: Jerry Johnson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2008 12:02 AM > To: CF-Talk > Subject: Re: One thing I've always wanted to build... breadcrumb trail... > > maybe use the javascript history array? > > On Mon, Jun 9, 2008 at 11:53 PM, Rick Faircloth <[EMAIL PROTECTED]> > wrote: > > > Not the one that represents a folder structure or > > hierarchy, but shows the exact places visited. > > > > Home > Services > Contact > Pricing > FAQ > > > > Anyone know of a tutorial on how to do this? > > > > Just store the link name representing a full url > > for the last, say, 5 or so visited pages? > > > > Update the path variables with each new page visit? > > > > In application.cfm (yes, still .cfm), upon visit to homepage... > > > > <cfset session.page_one = 'http://www.site.com/index.'> > > <cfset session.page_two = ''> > > <cfset session.page_three = ''> > > <cfset session.page_four = ''> > > <cfset session.page_five = ''> > > > > <cfoutout> > > <a href='#session.page_one#'>Home</a> > > </cfoutput> > > > > Visit to 'Services' page: > > > > <cfset session.page_two = 'http://www.site.com/cfm/services.cfm'> > > > > <cfoutput> > > <a href='#session.page_one#'>Home</a> > > > > > <a href='#session.page_two#'>Services</a> > > </cfoutput> > > > > etc... > > > > Now there would have to be a way developed to figure out the next > > empty session variable to hold the visited page and then to rotate > > pages down one rank in the history and off the history after 5 pages > > were visited. > > > > But would this concept work? > > > > Thanks for any feedback or references to tutorials! > > > > Rick > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4