PDA

View Full Version : Shorten Breadcrumbs Sensiblity



michael_s
09-17-2008, 10:50 PM
Here is a really simple way to shorten long bread crumb trails without causing the customer to loose access to the crumbs along the trail.

I needed to a way trim the breadcrumb but I didn't want to make things harder for costumers so I decided to keep the first crumb (home), and the last two. All the rest in between are replaced by an ellipsis.

To further aid usability I added title tags so hovering over the breadcrumb reveals the titles they display.

For short bread crumbs (3 or fewer) nothing is trimmed.

-- Simple instructions, replace one block of code in one file.

More... (http://addons.oscommerce.com/info/6233)