Okay Nino, I've created a new Effect.multiple that should give you what you
need.  take a look and let me know what you think.  here's how it works:

AbstractEffect[] effects =   new AbstractEffect[] {
    new Effect.Fade(component1),
    new Effect.Highlight(component2),
    etc...
   }

new Effect.multiple(effects).toJavascript();

On Fri, Jun 6, 2008 at 9:41 PM, Ryan Sonnek <[EMAIL PROTECTED]> wrote:

> I'll take a swing at it and try to check something workable in asap.
>
>
> On 6/6/08, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>
> wrote:
>>
>> Hmm
>>
>> The Effect's as they are now gives me some trouble, because you need to
>> give the component when creating the component. It would be much more
>> flexible if it could be changed. And would allow the user to control which
>> effects were used..
>>
>> So what do you say? I could make the change:) API should be okay, and we
>> could deprecate the old constructor..
>>
>> Ryan Sonnek wrote:
>>
>>> Not sure what this 'toaster' is, but i really like the multiple effect!
>>>  is
>>> it available in 1.8 or is this in scriptaculous 2.0?
>>>
>>> We have a scriptaculous header contributor using the
>>> ScriptaculousAjaxBehavior.newJavascriptBindingBehavior().  do you need
>>> something different?
>>>
>>>
>>> On Wed, Jun 4, 2008 at 8:32 PM, Nino Saturnino Martinez Vazquez Wael <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>>> Hi Ryan?
>>>>
>>>> I need this effect :
>>>> http://github.com/madrobby/scriptaculous/wikis/effect-multiple to be
>>>> able
>>>> to build the toaster. It's almost done, a scriptaculous header
>>>> contributor
>>>> would also be very nice.
>>>>
>>>> When im done with the toaster should I just add it to the project?
>>>>
>>>> --
>>>> -Wicket for love
>>>>
>>>> Nino Martinez Wael
>>>> Java Specialist @ Jayway DK
>>>> http://www.jayway.dk
>>>> +45 2936 7684
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>> --
>> -Wicket for love
>>
>> Nino Martinez Wael
>> Java Specialist @ Jayway DK
>> http://www.jayway.dk
>> +45 2936 7684
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

Reply via email to