Thanks Andrew,
As a matter of interest, here is the code that Kaosweaver creates:
function breadCrumbs(base,delStr,defp,cStyle,tStyle,dStyle,nl)
{
loc = window.location.toString();
subs= loc.substr(loc.indexOf(base)+base.length+1).split("/");
document.write
( '<a href="' + getLoc(subs.length-1) + defp + '"'
+ ' class="' + cStyle + '">Home</a>'
+ '<span class="' + dStyle + '">' + delStr + '</span>');
a = (loc.indexOf(defp)==-1) ? 1 : 2
for (i=0; i<(subs.length-a); i++)
{ subs[i] = makeCaps(unescape(subs[i]));
document.write
( '<a href="' + getLoc(subs.length-i-2) + defp + '"'
+ ' class="' + cStyle + '">' + subs[i] + '</a>'
+ '<span class="' + dStyle + '">' + delStr + '</span>'); }
if (nl==1) document.write("<br>")
document.write
( '<span class="' + tStyle + '">'
+ document.title + '</span>');
}
function getLoc(c)
{ var d = "";
if (c>0)
for (k=0; k<c; k++)
d = d + "../";
return d;
}
function makeCaps(a)
{ g = a.split(' ');
for (l=0; l<g.length; l++)
g[l]=g[l].toUpperCase().slice(0,1)+g[l].slice(1);
return g.join(" ");
}
It is called by breadCrumbs('tandcl.homemail.com.au' ,'>>' ,'index.html'
,'none' ,'none' ,'none' ,'0') - example parameters for my site.
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website:
http://tandcl.homemail.com.au
Andrew Murray wrote:
> I meant "frontpage server extensions" - the site link I gave states
> exactly that....
>
> "Trevor L." <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Andrew,
>> My apologies.
>>
>> I jumped too soon.
>>
>> You wrote FP extensions, *not* FP *server* extensions.
>>
>> However, looking at the code, it seems to self contained, and not
>> using FP extensions
>>
>> --
>> Cheers,
>> Trevor L., WIP (Web Interested Person)
>> Website: http://tandcl.homemail.com.au
>>
>> Trevor L. wrote:
>>> Andrew,
>>>
>>> It works for me (kaosweaver, that is) and my server doesn't have FP
>>> extensions
>>>
>>> --
>>> Cheers,
>>> Trevor L., WIP (Web Interested Person)
>>> Website: http://tandcl.homemail.com.au
>>>
>>> Andrew Murray wrote:
>>>> try this - it's apparently an addin for FP2002....uses FP
>>>> extensions though. http://www.kaosweaver.com/frontpage/
>>>>
>>>> "J Alan" <J (E-Mail Removed)> wrote in message
>>>> news:3E50D6A3-D342-4433-983A-(E-Mail Removed)...
>>>>> How do I do this type of bread-crum link in Front Page 2003:
>>>>> "Assistance > FrontPage 2003 > Links"?