Yeah I put the fix into my mootools-more and the JS error is gone, but the accordion does snap back open after it closes.
Jeremy Bueler www.jbueler.com On Sat, Oct 24, 2009 at 5:19 AM, soundseller <[email protected]>wrote: > > @oscar I tried your fix but > it still does not work as expected. > If I try to close all elements, the accordion snaps open again. > Any ideas? > I use following code: > var accordion = new Accordion($$('.toggler'),$$('.element'), { > opacity: 0, > alwaysHide: true, > onActive: function(toggler) { toggler.setStyle('color', > '#000000'); }, > onBackground: function(toggler) { toggler.setStyle('color', > '#666666'); } > }); > > > > > > On Oct 24, 3:15 am, "Steve Onnis" <[email protected]> wrote: > > I use > > > > display : null > > > > -----Original Message----- > > From: Piotr Zalewa [mailto:[email protected]] > > Sent: Saturday, 24 October 2009 12:32 AM > > To: [email protected] > > Subject: [Moo] Re: Fx.accordionError When using alwaysHide: true > > > > code simplified a bit > > the problem is with the display: -1 > > don't even know if it is the right usage - it's working if commented > outhttp://mooshell.net/kxYpt/1 > > > > zalun > > -- > > London, UK >
