When you initialize it you need to store it to a var, so you have something
to call the start/stop on.
Ie:
var myUpdater = new Ajax.PeriodicalUpdater(...)
...
myUpdater.stop()




On 3/1/07, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
>
>
> c0ldsk0Ol a écrit :
> > But it doesnt give any examples of how to do this, can someone please
> > post an example?
>
> I see examples both on the main page:
>
> http://prototypejs.org/api/periodicalExecuter
>
> and the stop() page:
>
> http://prototypejs.org/api/periodicalExecuter/stop
>
> --
> Christophe Porteneuve a.k.a. TDD
> "[They] did not know it was impossible, so they did it." --Mark Twain
> Email: [EMAIL PROTECTED]
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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