Hi,
as in subject, assignment of selected class to the active accordion
element (both default and via selectedClass) assigns it to the wrong
div, actually to the accordion content div.
It works as expected with ui 1.5.3 .
div structure:
<div class="content-box">
<div id="test-accordion" class="accordion">
<div class="accordion-item">
<div
class="accordion-toggle">Introduction</div>
<div class="accordion-content">
</div>
</div>
<div class="accordion-item">
<div
class="accordion-toggle">Introduction</div>
<div class="accordion-content">
</div>
</div>
</div>
</div><!--END .content-box !-->
and how I trigger the accordion:
jQuery(document).ready(function () {
jQuery("#test-accordion").accordion({
header: "div.accordion-toggle",
fillSpace: true,
active:"div.accordion-toggle:first"
});
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---