Wednesday, March 2, 2011

Breadcumb links for web

Use JavaScript to read where your page is in the site folder structure and build back links to the pages higher up in the hierarchy. If you're trying to add breadcrumb links to PHP pages, you might try our PHP breadcumb links script instead.

Download the .zip archive of the script from: MPBackLinks.js
There are a few variables near the top of the MPBackLinks.js file that you can also customize to better control the appearance and behavior.
Using the Script in HTML
<script type="text/javascript" src="MPBackLinks.js"></script>
You can customize the styling of your menu using CSS. The menu is created inside a
with a class assigned named "mp_backlinks". You can create a new CSS class sytle named "mp_backlinks" and assign whatever style settings you want.

No comments:

Post a Comment