Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8619855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:26:28+00:00 2026-06-12T06:26:28+00:00

I am using Twitter Bootstrap v2.1.1 and its tabbable feature. Problem: When any of

  • 0

I am using Twitter Bootstrap v2.1.1 and its tabbable feature.

Problem: When any of the tabs are clicked, the tab-pane does not change, although the state of the tab buttons .tab itself changes. In other words, the tab buttons appear depressed when you click on it, but the content that’s supposed to change with the tabs do not. A console.log() shows that the click event is being fired. Any ideas?

HTML

<!-- Tab Bar -->
<div class="tab-bar">
    <div class="tab active" id="photos" data-toggle="tab" data-target="#photos">
        <p>Photos</p>
    </div>
    <div class="tab" id="details" data-toggle="tab" data-target="#details"
        ><p>Details</p>
    </div>
</div>

<!-- Tab Panes -->
<div class="tab-content">
    <div id="photos" class="tab-pane">Photos</div>
    <div id="details" class="tab-pane">Details</div>
</div>

JS

$('.tab-bar').tab();
$('.tab-bar .tab').click(function(e) {
    e.preventDefault();
    $(this).tab('show');
    console.log('show');
})

JS Includes

<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tab.js"></script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:26:29+00:00Added an answer on June 12, 2026 at 6:26 am

    Couple of problems and concerns:

    1. Your src for bootstrap-tab.js is directly linking to the Twitter Github page. I do not believe this is intended to be a CDN for Twitter Bootstrap. I believe this file is "eat your own dogfood", i.e. the Twitter Bootstrap Github page uses Twitter Bootstrap for its documentation and downloads.

      Since it is not intended as such, they could easily and at any time change the directory structure or version.

    2. You are using both bootstrap.min.js and bootstrap-tab.js. I believe that bootstrap.min.js includes bootstrap-tab.js and using both causes problems. See the following post: https://groups.google.com/forum/?fromgroups=#!topic/twitter-bootstrap/XH_ttp_9yXg

    3. I am also using twitter bootstrap 2.1.1. I did not find tab-bar in bootstrap.min.js, bootstrap-tab.js, bootstrap.css. Is it possible you are referencing 2.1.1 files and coding against an older version of Twitter Bootstrap?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Twitter Bootstrap's [Tabbable Tabs][1], it says to: Enable tabbable tabs via javascript (each
I am using twitter bootstrap for a project - in particular its tab functions
Using Twitter Bootstrap's bootstrap-tab.js, I have: <ul class=tabnavcenter id=myTab> <li class=active><a href=#home data-toggle=tab>about</a></li> <li><a
I am using Twitter Bootstrap, (CSS and JS). The problem comes from the Modal
I'm using twitter bootstrap for some web app I'm forced to do (I'm not
I've been using Twitter Bootstrap to build a site, and a lot of its
I am using Twitter Bootstrap--and I am not a frontend developer! However, it's making
I've recently started using Twitter's new Bootstrap 2.0.1 and its Javascript popovers. I want
I'm using Twitter Bootstrap's Popover feature on a sidebar. The sidebar is fetched and
I'm using twitter bootstrap and I'm trying to change the background-color of a label.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.