Breadcrumbs in Javascript

A simple way to include breadcrumbs on any page.

Demo

This script generates the breadcrumbs at the bottom of all pages of this web site.

Usage

See code below. Copy first, then paste. Optionally, edit.

Verbose instructions

First, place the script function inside the <head> section of your html page. The script function is the part that starts with "function" and ends with "}". Be sure to include the <script> tags before and after the function.

Then, to include the breadcrumb in your html just insert this line where you would like the breadcrumb to appear:

<script type="text/javascript">bc();</script>

That's all.

Source code

Version and License

Version and License

Version

Current version: 1

License

What? Free!