I have some tabs using bootstrap 3. The way it is setup is there is 2 tab navs that display the same content. What I can't seem to figure out is if say Tab A is active then both Tab A list triggers should have the class Active. Right now it is only on the li trigger that you click.
codepen: https://codepen.io/mDDDD/pen/qBqbRXJ
The way the codepen is setup is not exactly how my project is setup but gives an idea. Currently when you land on my page there is a left tab nav and in the middle is another tab nav section and when you click the center section is hidden and the tab content fades in:
$('.tab-toggle').on('click', function () {
$('.center-nav-blocks').fadeOut('fast', function () {
$('.tab-content').fadeIn('fast');
scrollToElement('.title-row');
});
});
question from:
https://stackoverflow.com/questions/66054800/bootstrap-3-tab-toggle-active-when-active-content-is-shown 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…