bruce christie
2005-Dec-02 17:48 UTC
Can I pass options to these effects to control the speed?
Hi There, I am playing around with Effect.Grow and Effect.BlindDown. I was wondering if there is a way to control the speed at which these effects execute. Also, for Grow it seems to exapnd from the middle. I am trying to achieve something more like a flyout from the left. Any ideas on how I can do this? Thanks -- Bruce Christie _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Andrew Kaspick
2005-Dec-02 19:17 UTC
Re: Can I pass options to these effects to control the speed?
The following will cause the effect to take 0.5 seconds to run. new Effect.BlindDown(elem_id, {duration:0.5}) There are many options that you can pass to the effects. On 12/2/05, bruce christie <bqchristie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi There, > > I am playing around with Effect.Grow and Effect.BlindDown. I was wondering > if there is a way to control the speed at which these effects execute. > Also, for Grow it seems to exapnd from the middle. I am trying to achieve > something more like a flyout from the left. Any ideas on how I can do this? > > Thanks > > -- > Bruce Christie > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >