title: Bootstrap Carousel Jumps to top of page when advancing
body: <p>When I advance the slider manually, the slider jumps to the top of the page. How can I prevent this from happening? Help much appreciated! Here's the code:</p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="span12"&gt; 
          &lt;script&gt;
              $('.carousel').carousel({
              interval: 4000
              })
          &lt;/script&gt;
          &lt;div class="container"&gt;
              &lt;div id="myCarousel" class="carousel slide frame"&gt; 
                  &lt;!-- Carousel items --&gt;
                  &lt;div class="carousel-inner"&gt;
                      &lt;div class="active item"&gt;&lt;a href="work.html"&gt;&lt;img src="assets/images/slide_psd.jpg" width="1170"  alt="wga"&gt;&lt;/a&gt;&lt;/div&gt;
                      &lt;div class="item"&gt;&lt;a href="work.html"&gt;&lt;img src="assets/images/slide_wga.jpg" width="1170"  alt="wga"&gt;&lt;/a&gt;&lt;/div&gt;
                      &lt;div class="item"&gt;&lt;a href="work.html"&gt;&lt;img src="assets/images/slide_ts.jpg" width="1170"  alt="top secret hair"&gt;&lt;/a&gt;&lt;/div&gt;
                      &lt;div class="item"&gt;&lt;a href="work.html"&gt;&lt;img src="assets/images/slide_baja.jpg" width="1170"  alt="baja"&gt;&lt;/a&gt;&lt;/div&gt;
                  &lt;/div&gt;
                  &lt;!-- Carousel nav --&gt; 
                  &lt;a class="carousel-control left" href="#myCarousel" data-slide="prev"&gt;&amp;lsaquo;&lt;/a&gt;
          &lt;a class="carousel-control right" href="#myCarousel" data-slide="next"&gt;&amp;rsaquo;&lt;/a&gt; 
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;!-- end cara container--&gt; 
      &lt;/div&gt;
      &lt;!-- end span--&gt; 
  &lt;/div&gt;
  &lt;!-- end row--&gt;
  </code></pre>