Brice Burgess schrieb:
>   Also, regarding the supposed .enableTab(#).triggerTab(#) bug; I found 
> it to be limited to the initial tab (index 1)  Given:
> 
> <div id="mailing">
>     <ul class="anchors">
>         <li class="tabs-disabled"><a 
> href="mailing/composition.php">{t}Setup{/t}</a></li>
>         <li class="tabs-disabled"><a 
> href="mailing/template.php">{t}Templates{/t}</a></li>...
>     </ul>
> </div>
> 
> <script type="text/javascript">
> $().ready(function(){
>     $('#mailing').tabs({remote: true});
>     $('#mailing').enableTab(1).triggerTab(1);  /* does not open tab 1 */
>     // $('#mailing').enableTab(2).triggerTab(2); /* works (opens tab 2) */
> });
> </script>


Ah, I see. I think, that's because an an already "active" Tab cannot be 
triggered. I'm going to rewrite Tabs soon (Tabs 3), and it will allow 
closed tabs, closing (removing) and adding tabs and some more flexibility.

Never mind, the cleanest solution will be returning false for the 
onclick handler for now.


-- Klaus


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to