title: Changing accordion behaviour
body: <p>I have used a little plugin called tinyAccordion, and I want to change the behaviour of it, but I'm just really doing this to teach myself some skills on accordions, and I'm kind of clueless on how to change it so the accordion opens only one tab at a time. To clarify, if you open another tab, the one that is open, closes.</p>
  
  <p>I have the following code for this one:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
  
      var parentAccordion=new TINY.accordion.slider("parentAccordion");
      parentAccordion.init("acc","h6",0,0);
  
      var nestedAccordion=new TINY.accordion.slider("nestedAccordion");
      nestedAccordion.init("nested","h6",0,0,"acc-selected");
  
      &lt;/script&gt;
  </code></pre>
  
  <p>Here's the jsfiddle link: <a href="http://jsfiddle.net/LQsV5/" rel="nofollow">http://jsfiddle.net/LQsV5/</a></p>