Jquery: Setting permanent height to an specific tab & resize plugin
<p>I am working with jquery sliding tabs. I have found a resize plugin that helps the tabs adjust to expanding content. The only thing is that i want to set a permanent height to tab 1(st_content_1). The code i have below works but it is a bit faulty. </p>

<ul>
<li>Should place in the function if statements?</li>
<li>Check for the height of the first tab and then set it?</li>
<li><p>Or a any better solution?</p>

<p>You can check my <a href="http://webprolearner2346.zxq.net/slidingtabs/horizontal.html" rel="nofollow">EXAMPLE</a>. </p></li>
</ul>

<p>Jquery</p>

<pre><code> $('.st_tab_view').resize(function() {

    var height = 250
    $('div#st_content_1').css('height', height+'px');

    var $this = $(this);
    $this.closest('.st_view').css('height', $this.height());



});  
</code></pre>
