Missing tabs_init() function on tabs-6.x-1.2
jdangelo - November 6, 2009 - 14:04
| Project: | Tabs (jQuery UI tabs) |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Hi everyone:
I've been usign tabs 6.x-1.0 and after I upgrade to tabs-6.x-1.2, I began to have problems with pages that includes tabs. (they are not displayed as tabs)
I'm usign tabs as contents on a simple page in the following way :
<h2>Tabs example, basic</h2>
<div class="drupal-tabs js-hide tabs-navigation">
<ul class="tabs clear-block">
<li><a href="#tabs-example1-1"> <span class="tab">One </span></a> </li>
<li class="last"><a href="#tabs-example1-2"> <span class="tab">Two </span></a> </li>
<li class="active"><a href="#tabs-example1-3"> <span class="tab">Three </span></a> </li>
</ul>
</div>
<div id="tabs-example1-1">
<h2 class="drupal-tabs-title js-hide">One</h2>
First tab content.</div>
<div id="tabs-example1-2">
<h2 class="drupal-tabs-title js-hide">Two</h2>
Second tab content.</div>
<div id="tabs-example1-3">
<h2 class="drupal-tabs-title js-hide">Three</h2>
Third tab content.</div>Comparing tabs 6.x-1.0 with tabs-6.x-1.2 I found that tabs_init() is missing, adding that to tabs-6.x-1.2 the problem is solved.
Also I found that now is necesary to use "js-hide" to avoid the tab title to be shown twice, on the tab title and on the tab content. That was not the case in the previous version.
Regards,
Julio
