cm0s / jquery-rcrumbs

jQuery plugin to create a responsive breadcrumb
Other
60 stars 27 forks source link

Preserve the first item #1

Closed scratcher28 closed 10 years ago

scratcher28 commented 10 years ago

I need the first item to be always displayed. Any help?

cm0s commented 10 years ago

By default the first two items are always displayed. You can customize it with the nbUncollapsableCrumbs option.

This option is described in the README file.

scratcher28 commented 10 years ago

I am using the latest version, BTW, not the first two items displayed, but the last ones :( Could you fix it?

cm0s commented 10 years ago

You mean you want to always display the item which is on the left tail of the breadcrumb?

home > page 1 > page 2 > page 3

In this example you want "home" to never be hidden ?

scratcher28 commented 10 years ago

Exactly!

cm0s commented 10 years ago

Ok, I will check tonight (GMT+1) if I can add a new feature to handle this use case.

scratcher28 commented 10 years ago

Great, thanks in advance!

cm0s commented 10 years ago

New release 1.1.0 should resolve your problem. Tell me if it works for you.

This release includes a new nbFixedCrumbs option. Have a look at the Readme.

scratcher28 commented 10 years ago

Thanks alot. Works great.