twitter/bootstrap — Issue #2415: Linking to specific tab
Author: Gavrisimo
Created: 2012-03-05 23:33:04+00:00
State: open

Hello,

am i missing something or the only way to link to a specific tab is by setting `.active` class to tab navigation and `.tab-pane` elements?

For example, i lets look at demo of this tab system:

http://twitter.github.com/bootstrap/javascript.html#tabs

It has two links with `href` attributes set on `#home` and `#profile` which are targeting elements with those IDs and showing them accordingly. So everything is fine there, but what if i want to link to `#profile` tab from another page? Maybe I am missing something really obvious, but it seems that this is not possible simply by appending `#profile` to page url?

Like i said, i might have missed something, but if I did not, it would be absolutely great if this could be implemented in bootstrap!

Thanks.