Forums

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
    Posts
  • #42008
    matto
    Member

    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?

    #121088
    Andy Howells
    Participant

    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.

    #121106
    matto
    Member

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