<div class="category-tab" id="navg"><!--category-tab-->
<div class="col-sm-15">
<ul class="nav nav-tabs">
<li class="active" ><a href="link" data-toggle="tab">name</a></li>
<li ><a href="#link" data-toggle="tab">name</a></li> <li ><a href="#link" data-toggle="tab">name</a</li>
<li ><a href="#link" data-toggle="tab">name</a></li>
</ul>
</div>
</div>
</div>
<iframe src="" id="a" height="2000" width="1366" frameborder="0" align="right" scrolling="no" ></iframe>
<iframe src="" id="b" height="2000" width="1366" frameborder="0" align="right" scrolling="no" ></iframe>
By clicking on a link inside the <li> tag, I want it to toggle or show/hide the corresponding iframe above. The idea is to connect the iframe with the link clicked.
When a link is clicked and becomes active, I want the associated iframe to load instead of others.