title: Automatic Bootstrap Tabs
body: <p>I want my bootstrap tabs to automatically tab but when a tab is clicked i want the tabbing to pause for a certain amount of time or stop completely.  Here is the piece of javascript i am using.</p>
  
  <pre><code>    var timer = null, 
      interval = 1000,
      value = 0;
  
  $("#start").click(function() {
    if (timer !== null) return;
    timer = setInterval(function () {
        value = value+1;
        $("#input").val(value);
    }, interval); 
  });
  
  $("#stop").click(function() {
    clearInterval(timer);
    timer = null
  });
  </code></pre>