title: Bootstrap 3 : nested .nav-pills trouble
body: <p>Trouble nesting .nav-pills in another .nav-pills (using bootstrap3). Maybe its the nested JS in the pill-content?</p>
  
  <p>Basically I would like to create a single page website using the built in JS nav pills to navigate all the content on one page. Two of the panes contain built in JS too a carousel on home and another nav pill. </p>
  
  
  
  <pre><code>&lt;ul class="nav nav-pills"&gt;
    &lt;li&gt;&lt;a href="#home" data-toggle="pill"&gt;&lt;span class="glyphicon glyphicon-home"&gt;&lt;/span&gt; Home&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#menu" data-toggle="pill"&gt;&lt;span class="glyphicon glyphicon-cutlery"&gt;&lt;/span&gt; Menu&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#about" data-toggle="pill"&gt;About Us&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#contact" data-toggle="pill"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#directions" data-toggle="pill"&gt;directions&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;&lt;!-- End Nav pills --&gt;
  
  &lt;!-- pill panes --&gt;
  &lt;div class="pill-content"&gt;
    &lt;div class="pill-pane active" id="home"&gt;
  
      &lt;!-- Carousel --&gt;
     &lt;div id="carousel-with-captions" class="carousel slide" data-ride="carousel"&gt;
      &lt;ol class="carousel-indicators"&gt;
        &lt;li data-target="#carousel-with-captions" data-slide-to="0" class="active"&gt;&lt;/li&gt;
        &lt;li data-target="#carousel-with-captions" data-slide-to="1"&gt;&lt;/li&gt;
        &lt;li data-target="#carousel-with-captions" data-slide-to="2"&gt;&lt;/li&gt;
      &lt;/ol&gt;
      &lt;div class="carousel-inner"&gt;
        &lt;div class="item"&gt;
          &lt;img src='img\carousel\N2.-Pad-Sea-Ewew.jpg'  width="100%" alt="First slide image"&gt;
          &lt;div class="carousel-caption"&gt;
            &lt;h3&gt;N2. Pad Sea Ewew (ผัดซีอิ๋ว)&lt;/h3&gt;
            &lt;p&gt;Stir fried thick rice noodles with egg, Chinese broccoli, broccoli and beansprouts in sweet black soy sauce.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="item active"&gt;
          &lt;img src="C:\Users\Eduardo\Desktop\Pi's Thai\img\carousel\N1.-Pad-Thai.jpg" width="100%" alt="Second slide image"&gt;
          &lt;div class="carousel-caption"&gt;
            &lt;h3&gt;N1. Pad Thai (ผัดไทย)&lt;/h3&gt;
            &lt;p&gt;Notably one of the best known Thai dish worldwide. Our Pad Thai is made with thin rice noodles stir fried with meat of your choice, egg, bean sprouts and green onions. Then topped with crushed peanuts and a side of lime to add some crunch and an extra zest!&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="item"&gt;
          &lt;img src="C:\Users\Eduardo\Desktop\Pi's Thai\img\carousel\N3.-Pad-Rard-Na.jpg" width="100%" alt="Third slide image"&gt;
          &lt;div class="carousel-caption"&gt;
            &lt;h3&gt;N3. Pad Rard Na (ราดหน้า)&lt;/h3&gt;
            &lt;p&gt;Stir fried thick rice noodles topped with sautéd broccoli and Chinese broccoli in soybean paste brown soy gravy.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="left carousel-control" href="#carousel-with-captions" data-slide="prev"&gt;
        &lt;span class="glyphicon glyphicon-chevron-left"&gt;&lt;/span&gt;
      &lt;/a&gt;
      &lt;a class="right carousel-control" href="#carousel-with-captions" data-slide="next"&gt;
        &lt;span class="glyphicon glyphicon-chevron-right"&gt;&lt;/span&gt;
      &lt;/a&gt;
    &lt;/div&gt;&lt;!-- End Carousel --&gt;
    &lt;/div&gt;&lt;!-- End Pill pane home --&gt;
  
    &lt;div class="pill-pane" id="menu"&gt;
  
      &lt;ul class="nav nav-pills"&gt;
        &lt;li class="active"&gt;&lt;a href="#Noodles" data-toggle="pill"&gt;Noodles&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#FriedRice" data-toggle="pill"&gt;Fried Rice&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#Entrees" data-toggle="pill"&gt;Entrees&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#Soups-Salads" data-toggle="pill"&gt;Soups &amp;amp; Salads&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;div class="pill-content"&gt;
      &lt;/div&gt;         
    &lt;/div&gt;&lt;!-- End Pill pane menu --&gt;
  
    &lt;div class="pill-pane" id="about"&gt;
      &lt;h3&gt;about us&lt;/h3&gt;
      &lt;p&gt;we live in a crazy  jungle&lt;/p&gt;
    &lt;/div&gt;&lt;!-- End Pill pane about us --&gt;
  
    &lt;div class="pill-pane" id="contact"
    &gt;&lt;/div&gt;&lt;!-- End Pill pane contact us --&gt;
  
    &lt;div class="pill-pane" id="directions"
    &gt;&lt;/div&gt;&lt;!-- End Pill pane directions --&gt;
  &lt;/div&gt;&lt;!-- End Pill panes --&gt;
  </code></pre>