title: Make Next, Previous Link for Tabs
body: <p>I have a jQuery tab, and this is my code:</p>
  
  <pre><code>$(document).ready(function() {
      //When page loads...
      $(".tab_content").hide(); //Hide all content
      $("ul.tabs li:first").addClass("active").show(); //Activate first tab
      $(".tab_content:first").show(); //Show first tab content
  
      //On Click Event
      $("ul.tabs li").click(function() {
          $("ul.tabs li").removeClass("active"); //Remove any "active" class
          $(this).addClass("active"); //Add "active" class to selected tab
          $(".tab_content").hide(); //Hide all tab content
  
          var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
          $(activeTab).fadeIn(); //Fade in the active ID content
          return false;
      });
  });​
  </code></pre>
  
  <p>how i can get next and Previous links for tabs?</p>
  
  <p>This is my HTML Code:</p>
  
  <pre><code>&lt;ul class="tabs"&gt;
      &lt;li&gt;
          &lt;a href="#tab1"&gt;Tab1&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a href="#tab2"&gt;Tab2&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a href="#tab3"&gt;Tab3&lt;/a&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="tab_container"&gt;
      &lt;div id="tab1" class="tab_content"&gt;Content 1&lt;/div&gt;
      &lt;div id="tab2" class="tab_content"&gt;Content 2&lt;/div&gt;
      &lt;div id="tab3" class="tab_content"&gt;Content 3&lt;/div&gt;
  &lt;/div&gt;​
  </code></pre>
  
  <p>Your post does not have much context to explain the code sections; please explain your scenario more clearly.</p>