title: jQuery Tools Tabs - Link to tab from another text link?
body: <p>I am using jQuery Tools Tabs ... I am needing to open tabs from a separate link on the same page. Here is my code I am trying.</p>
  
  <pre><code>jQuery(function($){
  
          $('#accord1trig').click(function(){
                $(".accordion").tabs('selected', 1);
          });
  
          $('#accord2trig').click(function(){
                $(".accordion").tabs('selected', 2);
          });
  
          $('#accord3trig').click(function(){
                $(".accordion").tabs('selected', 3);
          });
  
          $('#accord4trig').click(function(){
                $(".accordion").tabs('selected', 4);
          });
  
  });
  </code></pre>
  
  <p>and the html is as follows</p>
  
  <pre><code>&lt;a href="#" id="accord1trig"&gt;Tab Link 1&lt;/a&gt;
  &lt;a href="#" id="accord2trig"&gt;Tab Link 2&lt;/a&gt;
  &lt;a href="#" id="accord3trig"&gt;Tab Link 3&lt;/a&gt;
  &lt;a href="#" id="accord4trig"&gt;Tab Link 4&lt;/a&gt;
  </code></pre>