The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Bootstrap Togglable tabs

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #42008

    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?

    Andy Howells

    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.


    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 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.