These options are not really supported with SlideDown. You should  
copy the SlideDown code and create a new effect that does what you like.

Best,
Thomas

Am 29.05.2007 um 11:37 schrieb d0nut:

>
> thanks for that!
> just to mention it: it is line 714 in the effects.js
>
> On 7 Mai, 11:47, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>> Hi there I've found that when trying to make aSlideDownon a div with
>> the options {scaleX: true, scaleY:false} it didn't make the desired
>> effect it just jumps from nothing to the final state, after looking
>> for the bug I arrived to this line in the code:
>>
>>       effect.element.makeClipping().setStyle({height: '0px'}).show();
>>
>> this line was the one that was making me crazy :|. The solution  
>> should
>> be something like this:
>>
>>     if(this.options.scaleX)
>> effect.element.makeClipping().setStyle({width: '0px'}).show();
>>     if(this.options.scaleY)
>> effect.element.makeClipping().setStyle({height: '0px'}).show();
>>
>> but actually it doesn't work :( because the options are not in the
>> effect but the way to the solution must be something like this ...
>> what do you think??
>>
>> The version I'm using of scriptaculous is the v1.7 and the buggy line
>> is the 714.
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to