PC Review


Reply
Thread Tools Rate Thread

bread crumbs

 
 
=?Utf-8?B?TW9ybGV5IFdlYiBEZXNpZ25z?=
Guest
Posts: n/a
 
      12th Jul 2006
Hi,

Does anyone know how to insert 'Bread Crumbs' in Microsoft FrontPage 2003.
What I want to be able to do is offer visitors the chance to see where they
are in the website and be able to click back a page, for example:

Home Page > Articles > Jayne Summers > Page 3


Does anyone have the answer??


Many thanks
Steve Morley
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      12th Jul 2006
There is no function in FP to do this.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Morley Web Designs" <(E-Mail Removed)> wrote in message
news:3A302340-181E-44AB-9A8F-(E-Mail Removed)...
> Hi,
>
> Does anyone know how to insert 'Bread Crumbs' in Microsoft FrontPage 2003.
> What I want to be able to do is offer visitors the chance to see where they
> are in the website and be able to click back a page, for example:
>
> Home Page > Articles > Jayne Summers > Page 3
>
>
> Does anyone have the answer??
>
>
> Many thanks
> Steve Morley



 
Reply With Quote
 
Tom Willett
Guest
Posts: n/a
 
      12th Jul 2006
Googling for breadcrumb script will bring up many hits, including:
http://www.javascriptkit.com/script/...eadcrumb.shtml
--
Tom Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
"Thomas A. Rowe" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> There is no function in FP to do this.
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> ==============================================
> If you feel your current issue is a results of installing
> a Service Pack or security update, please contact
> Microsoft Product Support Services:
> http://support.microsoft.com
> If the problem can be shown to have been caused by a
> security update, then there is usually no charge for the call.
> ==============================================
>
> "Morley Web Designs" <(E-Mail Removed)> wrote in
> message news:3A302340-181E-44AB-9A8F-(E-Mail Removed)...
>> Hi,
>>
>> Does anyone know how to insert 'Bread Crumbs' in Microsoft FrontPage
>> 2003.
>> What I want to be able to do is offer visitors the chance to see where
>> they
>> are in the website and be able to click back a page, for example:
>>
>> Home Page > Articles > Jayne Summers > Page 3
>>
>>
>> Does anyone have the answer??
>>
>>
>> Many thanks
>> Steve Morley

>
>



 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      13th Jul 2006
Morley Web Designs wrote:
> Hi,
>
> Does anyone know how to insert 'Bread Crumbs' in Microsoft FrontPage
> 2003. What I want to be able to do is offer visitors the chance to
> see where they are in the website and be able to click back a page,
> for example:
>
> Home Page > Articles > Jayne Summers > Page 3
>
>
> Does anyone have the answer??
>
>
> Many thanks
> Steve Morley


I use the function below, but I have been advised to check these lines as they are most likely incorrect
var cStyle = '75pc'
var tStyle = '75pc'
var dStyle = '75pc'
I will be trying % rather than pc

The function can be called by
<script type="text/javascript">breadCrumbs();</script>

function breadCrumbs()
{
// Were passed parameters
var base = 'tandcl.homemail.com.au'
var delStr = '>>'
var defp = 'index.html'
var cStyle = '75pc'
var tStyle = '75pc'
var dStyle = '75pc'
var nl = 0
// added
var localweb = 'myweb'
// ----------------
var loc, subs, a, i

//----Internal functions ---
function getLoc(c)
{
var k, d = ""

if (c > 0)
for (k = 0; k < c; k++)
d += "../"
return d
}
//--------------------------
function makeCaps(a)
{
var l, 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(" ")
}
//-- End Internal functions --

loc = window.location.toString()
if (loc.indexOf('file') != -1)
base = loc.substring(0, loc.indexOf(localweb) + localweb.length + 1)
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>' )
}
//------------------------------


--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


 
Reply With Quote
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      13th Jul 2006
Stephen Travis, a former FrontPage MVP, has a macro on his site that worked
with FrontPage 2000 - it creates a Breadcrumb Trail using the navigation
structure of your site:
http://home.att.net/~codelibrary/FrontPage/macro.htm

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/
FrontPage Support: http://www.frontpagemvps.com/




"Morley Web Designs" <(E-Mail Removed)> wrote in
message news:3A302340-181E-44AB-9A8F-(E-Mail Removed)...
> Hi,
>
> Does anyone know how to insert 'Bread Crumbs' in Microsoft FrontPage 2003.
> What I want to be able to do is offer visitors the chance to see where
> they
> are in the website and be able to click back a page, for example:
>
> Home Page > Articles > Jayne Summers > Page 3
>
>
> Does anyone have the answer??
>
>
> Many thanks
> Steve Morley



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bread crumbs component for asp.net 1.1 Piotr Nowak Microsoft ASP .NET 1 18th Jun 2007 03:27 PM
Re: bread crumbs in frontpage David Berry Microsoft Frontpage 0 13th Dec 2006 12:26 AM
Re: bread crumbs Trevor L. Microsoft Frontpage 0 13th Jul 2006 01:08 AM
Re: Bread Crumbs in ASP.Net Bryan Martin Microsoft Dot NET 0 24th Feb 2004 10:07 PM
Re: Bread Crumbs in ASP.Net John Timney \(Microsoft MVP\) Microsoft Dot NET 0 24th Feb 2004 09:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:51 AM.