running a function when another is clicked using jquery
<p>When i run this <code>$btns.first().click();</code> in the first function it doesnt action it where as if i click it (as per second function it works perfectly.  The result is the slides all show when i click on a tab instead of just one. And then when i click one of the inner buttons the slides all disapear leaving just one.  Which is correct.   </p>

<p><a href="http://jsfiddle.net/p259x/" rel="nofollow">http://jsfiddle.net/p259x/</a></p>

<p>I know this is hard to understand so hopefully the link helps.</p>
