Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Fx.accordion Error When using alwaysHide: true
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Oskar Krawczyk  
View profile  
 More options Oct 23 2009, 3:51 pm
From: Oskar Krawczyk <oskar.krawc...@gmail.com>
Date: Fri, 23 Oct 2009 20:51:57 +0100
Local: Fri, Oct 23 2009 3:51 pm
Subject: Re: [Moo] Re: Fx.accordion Error When using alwaysHide: true

I've already requested a pull with the fix...

On 23 Oct 2009, at 20:45, Aaron Newton wrote:

> will fix for next release. hopefully monday.

> On Fri, Oct 23, 2009 at 7:44 AM, Oskar Krawczyk <oskar.krawc...@gmail.com
> > wrote:
> Yup, a bug inside the .display method:

> if (this.options.returnHeightToAuto) {
>    var el = this.elements[index];
>    el.setStyle('height', 'auto');
> };

> Needs to be changed to:

> if (this.options.returnHeightToAuto && index >= 0) {
>    var el = this.elements[index];
>    el.setStyle('height', 'auto');
> };

> On 21 Oct 2009, at 15:00, Jeremy B wrote:

>> I am getting an error when trying to create a nested accordion and  
>> trying to make it so you can close all of the accordion panels.

>> I have posted a sample on mooshell:
>> http://mooshell.net/kxYpt/

>> This is the error I am getting in firebug:

>> el is undefined
>> file:///mootools-1.2.4.1-more.js
>> Line 221

>> This is line 221 in my mootoos-more.js file
>> 221 el.setStyle('height', 'auto');

>> It seems like it may be a bug, but I am not entirely sure, perhaps  
>> is it due to me trying to nest accordions?
>> Any help is greatly appreciated,
>> Jeremy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.