Didn't you mean : > this.frequency = frequency; :o)
Thanks for the snippet! Eric On Feb 21, 8:14 am, Радослав Станков <rstan...@gmail.com> wrote: > There isn't PeriodicalExecuter#start method its > PeriodicalExecuter#registerCallback > > You can do: > > <code> > x.stop(); > x.frequency = 1; > x.registerCallback(); > </code> > > You can also do: > > <code> > PeriodicalExecuter.addMethods({ > changeFrequency: function(frequency){ > this.stop(); > this.frequency = 1; > this.registerCallback(); > }}); > > </code> > > an then just call: > > <code> > x.changeFrequency(1); > x.changeFrequency(whatever); > </code> -- 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-scriptacul...@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.