[Proto-Scripty] Re: loop effects?

2009-11-14 Thread Alex McAuley

All the effects have an "afterFinish" property - so you could just 
functionise the effect and call itself again after finish ..
Alex Mcauley
http://www.thevacancymarket.com
- Original Message - 
From: "Hugo Nieto" 
To: "Prototype & script.aculo.us" 
Sent: Saturday, November 14, 2009 3:59 PM
Subject: [Proto-Scripty] Re: loop effects?



Hi, i think its a good one, and if u just wanna put a simple effect
that works fine.

On Nov 14, 1:36 am, patrick  wrote:
> hi,
>
> Is the best way to loop an effect to just do:
>
> setInterval(function() {
>
> new Effect.pulsate('my_div', {duration: 1})
>
> }, 1000);
>
> ?
>
> -patrick




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: loop effects?

2009-11-14 Thread Hugo Nieto

Hi, i think its a good one, and if u just wanna put a simple effect
that works fine.

On Nov 14, 1:36 am, patrick  wrote:
> hi,
>
> Is the best way to loop an effect to just do:
>
> setInterval(function() {
>
>   new Effect.pulsate('my_div', {duration: 1})
>
> }, 1000);
>
> ?
>
> -patrick

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---