You can also do this with _javascript_:
Here's the script I use that outputs the following (check out the title tag!): www.grafx.com.au :: v2 :: scripting :: breadCrumbs.html // Breadcrumbs Script
var path = ""; var href = "">var s = href.split("/"); for (var i=3;i<(s.length-1);i++) { path+="<a href="" title=\"Go up "+ (s.length-i-1) +" levels to "+s[i]+"\">"+unescape(s[i])+"</a> :: "; } i=s.length-1; path+="<a href="" title=\"You are currently viewing this page\">"+s[i]+"</a>"; var url = "">document.writeln(url); :o)
Richard
----- Original Message ----- From: "Terrence Wood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 15, 2004 7:36 AM Subject: [WSG] breadcrumbs - nice implementation Following the recent discussion(s) here about breadcrumbs I thought I'd share this link to an interesting breadcrumb implementation (and handy snippet of php): http://www.de-generationx.net/blog/archives/2004/09/20/629/ What is interesting to me about this implementation is how through the choice of wording the use of the breadcrumbs is explicitly navigation ("return to"), whereas they usually appear to be informative ("you are here"). Terrence Wood. -- "You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." -Antoine de Saint-Exupery ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** |