title: How to do a slide animation between two Bootstrap 3 tabs?
body: <p>I'm trying to figure out how to do a slide left, right, up, down between two Bootstrap 3 tabs.<br/>I have searched the web and surprisingly have not found anything.<br/> The closest thing I found was <a href="https://github.com/twbs/bootstrap/issues/3056" rel="nofollow noreferrer">THIS</a> on Bootstrap github.  However, it deals with Bootstrap 2.0.2 and no longer works for Bootstrap 3.</p>
  
  <p>Does anybody know how to slide left, right, up down (any or all) between two Bootstrap 3 tabs?</p>
  
  <p>Here is the basic Bootstrap 3 tab setup that I am using.</p>
  
  <pre><code>&lt;ul class="nav nav-tabs"&gt;
      &lt;li class="active"&gt;&lt;a href="#home" data-toggle="tab"&gt;Home&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#profile" data-toggle="tab"&gt;Profile&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#messages" data-toggle="tab"&gt;Messages&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#settings" data-toggle="tab"&gt;Settings&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;!-- Tab panes --&gt;
  &lt;div class="tab-content"&gt;
    &lt;div class="tab-pane active" id="home"&gt; home page content &lt;/div&gt;
    &lt;div class="tab-pane" id="profile"&gt; profile page content &lt;/div&gt;
    &lt;div class="tab-pane" id="messages"&gt;message page content &lt;/div&gt;
    &lt;div class="tab-pane" id="settings"&gt;settings content&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I activate my tabs in one of these several ways.</p>
  
  <pre><code>$('#myTab a[href="#profile"]').tab('show') // Select tab by name
  $('#myTab a:first').tab('show') // Select first tab
  $('#myTab a:last').tab('show') // Select last tab
  $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
  </code></pre>
  
  <p>Instead of just switching pages when I do a 'show' I would like to 'slide' the old tab off to the left or right while sliding in the new tab at the same time.  Even if the old tab had to slide all the way off first then slide the new tab would be acceptable.  However, I prefer the former.</p>