On my webpage, I have numerous tabs following the same structure as seen on the angular-ui page. Each section contains tabs for both Markup
and Javascript
.
My goal is to implement two radio buttons at the top of the page that can switch all tabs to either Markup
or Javascript
based on the selected button.
I am currently utilizing ui.bootrap.tabs but the tabs are static in nature:
<tabset>
<tab heading="Markup">content for 1st markup tab</tab>
<tab heading="Javascript">content for 1st javascript tab</tab>
</tabset>
.
.
.
<tabset>
<tab heading="Markup">content for 2nd markup tab</tab>
<tab heading="Javascript">content for 2nd javascript tab</tab>
</tabset>
The radio buttons are sourced from the same location:
<div class="btn-group">
<button type="button" class="btn btn-primary" ng-model="radioModel" btn-radio="'markup'">markup</button>
<button type="button" class="btn btn-primary" ng-model="radioModel" btn-radio="'javascript'">javascript</button>
</div>
I have been unsuccessful in my attempts so far. Any assistance would be greatly appreciated.