title: tabs and pills in bootstrap
body: <p>I have a tab structure consisting of 5 tabs. All tabs are working fine. Now in my first tab, I have few header tags which are same as the other 4 tabs. So when clicking of each of them, I want to change the active tab and also the contents. My code is as below.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;ul class="nav nav-pills" id="myTab"&gt;
    &lt;li class="active"&gt;&lt;a data-toggle="tab" href="#overview"&gt;Overview&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a data-toggle="tab" href="#tab1"&gt;tab1&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a data-toggle="tab" href="#tab2"&gt;tab2&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a data-toggle="tab" href="#tab3"&gt;tab3&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a data-toggle="tab" href="#tab4"&gt;tab4&lt;/a&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="tab-content"&gt;
    &lt;div id="overview" class="tab-pane fade in active"&gt;
      &lt;p&gt;overview&lt;/p&gt;
      &lt;br&gt;
      &lt;a href="#tab1"&gt;
        &lt;h3&gt;tab1 link&lt;/h3&gt;
      &lt;/a&gt;
      &lt;br&gt;
      &lt;a href="#tab2"&gt;
        &lt;h3&gt;tab2 link&lt;/h3&gt;
      &lt;/a&gt;
      &lt;br&gt;
      &lt;a href="#tab3"&gt;
        &lt;h3&gt;tab3 link&lt;/h3&gt;
      &lt;/a&gt;
      &lt;br&gt;
      &lt;a href="#tab4"&gt;
        &lt;h3&gt;tab4 link&lt;/h3&gt;
      &lt;/a&gt;
    &lt;/div&gt;
    &lt;div id="tab1" class="tab-pane fade"&gt;
      &lt;p&gt;Vestibulum nec erat eu nulla rhoncus fringilla ut non neque. Vivamus nibh urna, ornare id gravida ut, mollis a magna. Aliquam porttitor condimentum nisi, eu viverra ipsum porta ut. Nam hendrerit bibendum turpis, sed molestie mi fermentum id. Aenean
        volutpat velit sem. Sed consequat ante in rutrum convallis. Nunc facilisis leo at faucibus adipiscing.&lt;/p&gt;
    &lt;/div&gt;
    &lt;div id="tab2" class="tab-pane fade"&gt;
      &lt;p&gt;WInteger convallis, nulla in sollicitudin placerat, ligula enim auctor lectus, in mollis diam dolor at lorem. Sed bibendum nibh sit amet dictum feugiat. Vivamus arcu sem, cursus a feugiat ut, iaculis at erat. Donec vehicula at ligula vitae venenatis.
        Sed nunc nulla, vehicula non porttitor in, pharetra et dolor. Fusce nec velit velit. Pellentesque consectetur eros.&lt;/p&gt;
    &lt;/div&gt;
    &lt;div id="tab3" class="tab-pane fade"&gt;
      &lt;p&gt;Donec vel placerat quam, ut euismod risus. Sed a mi suscipit, elementum sem a, hendrerit velit. Donec at erat magna. Sed dignissim orci nec eleifend egestas. Donec eget mi consequat massa vestibulum laoreet. Mauris et ultrices nulla, malesuada volutpat
        ante. Fusce ut orci lorem. Donec molestie libero in tempus imperdiet. Cum sociis natoque penatibus et magnis dis parturient.&lt;/p&gt;
    &lt;/div&gt;
    &lt;div id="tab4" class="tab-pane fade"&gt;
      &lt;p&gt;Donec vel placerat quam, ut euismod risus. Sed a mi suscipit, elementum sem a, hendrerit velit. Donec at erat magna. Sed dignissim orci nec eleifend egestas. Donec eget mi consequat massa vestibulum laoreet. Mauris et ultrices nulla, malesuada volutpat
        ante. Fusce ut orci lorem. Donec molestie libero in tempus imperdiet. Cum sociis natoque penatibus et magnis dis parturient.&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any help soon will help.</p>