Click to See Complete Forum and Search --> : Looking for breadcrumbs - please help!


omegareport
12-26-2002, 02:34 PM
I downloaded a script from Javascript Source (see below) that would let a visitor know where they are and go back, directory by directory - just like the line above this box:
Web Developer Forum> Web Developer Forums> Javascript.

I used an earlier version called a "breadcrumb" script - but this one seems to use the page TITLES as opposed to the filename - which I like better.

Problem is - it doesn't work - just the advertising for Javascriptsource.com. It's just blank.

I think it may be missing something, probably in Step One - like a *.js to put in the header? Can somebody tell me what?

<!-- ONE STEP TO INSTALL TOOLBAR MENU:

1. Copy the coding into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the BODY of your HTML document -->

<BODY>

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original: Sharon Harber (sharon@harber.f9.co.uk) -->
<!-- Web Site: http://www.nwr.org -->
<script type='text/javascript' src='nwrmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 0.63 KB -->

Thanks anyone!

swon
12-26-2002, 03:11 PM
Can you post your whole code and the link from where you have the scripts?

omegareport
12-26-2002, 03:54 PM
This is the URL where the code was found:
http://javascript.internet.com/navigation/toolbar-menu.html

This appears truncated in Preview mode, but the link itself is correct and will work.

I've cut and pasted the given code in its entirety above. That's why I think there's something missing.

swon
12-26-2002, 04:11 PM
Right, did you download the following scripts:

<script type='text/javascript' src='nwrmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>

AdamBrill
12-26-2002, 04:32 PM
Get the two scripts here:

http://javascript.internet.com/navigation/menu_com.js
and
http://javascript.internet.com/navigation/menu_com.js

Put them in the same folder as the page with the code from the site. Then it should work. Let me know if it doesn't...

omegareport
12-26-2002, 05:10 PM
Thanks, Adam ... I didn't see any download files on that original page. Maybe I missed it.
Your two URLs are for the same file. Yet you mention TWO files - I've got one now, but the other is exactly the same.

I still don't find those two ".js" files - just the reference to them. I went back there and can find no download of those two files.

The links Adam provides downloads menu_com.js - but it looks like a single, separate file. That seems to be one down, one to go.

OK - this worked; I typed this into the addess bar and found it: (http://javascript.internet.com/navigation/nwrmenu_var.js").

Thanks guys!!

AdamBrill
12-26-2002, 05:15 PM
oops...I put the same link up there twice. :( I meant to put the link that you tried up there. Sorry about that...