bread crumbs : Java Glossary

bread crumbs
The green bar at the top of each page on this website is called the bread crumbs bar. It is a navigation aid to tell you where you are in the website tree. You can click to get back directly to any previous point.

The name comes from the Brothers Grimm fairly tale Hansel and Gretel. When Hansel went off into the woods, he left a trail of bread crumbs behind to help him find his way back. Unfortunately birds ate them and he and Gretel became lost and ended up almost being eaten by a witch.

I pioneered the use of the bread crumbs bar many years ago. A school asked permission to teach my method. Now you see it everywhere. I don’t know if people got the idea from me, or came up with it independently. It is not rocket science.

The first recorded use of them was by Jakob Nielsen circa 1995.

My green bread crumb bar you see at the top of each page in this website was inspired by such a navigational aid at launchpad.net. However, mine works much more simply without JavaScript using only CSS (Cascading Style Sheets) styles and a couple of tiny *.png files. Likely your browser does not support the + CSS selector. This means the hover effect will not properly highlight the tip of the arrow. I chose subtle colours, so that failing is barely noticeable.

My original version used left-pointing arrows, to tell you what would happen if you clicked the bread crumb. My latest version uses right-pointing arrows, to indicate the direction you travelled to get to the current point. This is the most common convention.

You are welcome to copy my method and the styles and images to support it. Check out the breadcrumb, firstbreadbcrumb and lastbreadcrumb classes in the style sheet mindprod.css.


CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/breadcrumbs.html J:\mindprod\jgloss\breadcrumbs.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.211]
You are visitor number 9,470.