Grow your CSS skills. Land your dream job.

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](http://codepen.io/pen) we can help you get the code perfect.

    # January 15, 2013 at 12:35 pm

    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:

    http://olearystudios.com/alt/docs/examples/example.html

    Assistace is much appreciated!

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".