The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Bootstrap Togglable tabs

  • # January 15, 2013 at 12:31 pm

    I’m using Bootstrap Togglable tabs with bootstrap-tab.js. Works as expected (when you click on a tab it displays the tab content and the clicked tab becomes the active tab). Question is this: I have a link within the content of one of the tabs that links to another tab… on click it displays the content of the tab correctly but it does not make that new tab itself the active tab. Any way to make that happen?

    # January 15, 2013 at 12:35 pm

    You could use JavaScript and add another on click event, so on click addclass etc.

    If you create a stripped down version on [CodePen]( we can help you get the code perfect.

    # January 15, 2013 at 12:35 pm

    This reply has been reported for inappropriate content.

    links help

    # January 15, 2013 at 4:48 pm

    Here’s a link to stripped down version of the page. I’m not sure how to isolate the correct files for codepen so I just posted here instead:

    Assistace is much appreciated!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed