Download & Extend

Once expands __> never collapses

Project:Accordion Blocks
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:major
Assigned:Unassigned
Status:active

Issue Summary

Hey!

I have let jqueryui incorporated with drupal 6 that you can check out on the link beneath. However the set up went relative smooth, I could not overcome and finalize the entire configuration. You never can collapse any block after you once opened it. I am attaching the accordion_init.js file

http://www.lux-fitness.hu

Cheers,
Sigmarsson


// $Id: accordion_init.js,v 1.1.2.3 2009/11/26 19:20:55 prajwala Exp $
Drupal.behaviors.accordion_blocks = function(){
$('.accordion_blocks_container').accordion(
{collapsible: true,
header: "h2",
active: false,
alwaysOpen: false
});
};

Comments

#1

I have just downgraded to JQuery UI 1.6 unfortunately in vain because there are no themes for the current legacy 1.6 however the widget functionality achieved! Now I wonder which drupal module might be wrong, either accordion_blocks or jquery_ui.
What is your experience with D6 incorporated with JQuery UI 1.7 ?

Cheers,
Sigmarsson

#2

Assigned to:Sigmarsson» Anonymous

#3

This worked for me in UI 1.6 (and jquery 1.2.6)

$('.ui-accordion').bind('mouseleave', function() {
setTimeout( function()
{
$('.accordion_blocks_container').accordion("activate", false);
}, 1000);
});