hi @sherry22,
you can link using anchor tag to open another tab by doing these steps.
1.install Insert Script In Headers And Footers plugin.
2.you can find it in settings>Insert Script In Headers And Footers and paste the following script in “Scripts in Footer” textarea.
<script type=”text/javascript”>
jQuery(function () {
jQuery(‘.tabcall’).on(‘click’, function(event) {
event.preventDefault();
var tabid = jQuery(this).attr(‘tab-id’);
jQuery(‘[data-toggle=”tab”][href=”#’ +tabid + ‘”]’).trigger(‘click’);
})
});
</script>
3.now copy and paste following code in tab description
<a tab-id="tabs_desc_143_2" class="tabcall" data-toggle="tab">link</a>
you have to just change the tabs_desc_143_2 last digit of id according to your tabs sequence eg. tabs_desc_143_3 and run the It.
Thanks.
-
This reply was modified 5 years, 6 months ago by preetam27.