How can I successfully open a specific tab panel on the service.html page when clicking a link on my index page? I'm using bootstrap nav-pills and have tried the following, which unfortunately did not work as expected:
service.html
<div class="nav flex-column nav-pills col-md-3" id="v-pills-tab" role="tablist" aria-orientation="vertical">
<li class="nav-item">
<a class="nav-link list-group-item" id="v-pills-manpower-tab" data-toggle="pill" href="#v-pills-manpower" role="tab" aria-controls="v-pills-manpower" aria-selected="false">Manpower Support</a>
</li>
</div>
<div class="tab-content col-md-8" id="v-pills-tabContent">
<div class="tab-pane fade" id="v-pills-manpower" role="tabpanel" aria-labelledby="v-pills-manpower-tab">
<h5>Manpower Support</h5>
</div>
</div>
This is the link in my index.html file
<a href="services.html#v-pills-manpower">Manpower</a>
Currently, this link only takes me to the default services page without opening the specific tab content. What is the correct way to make this functionality work as intended?