[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater - cant make start work

2009-11-29 Thread Tonypm
sorry, don't know what happened at the end of my previous post. Also currentlyExecuting to false was a red herring. Just need to figure out how to make start() work Tonypm -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater - cant make start work

2009-11-28 Thread Tonypm
Ok - so the stop works great this_updater.stop() stops the periodical request But this_updater.start() does not restart it. I test for typeof(this_updater) and get object but start() doesnt do anything I can test it from the console. this_updater.stop() works and sets its currentlyExecuting

Re: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-18 Thread bill
, 2009 3:18 PM *Subject:* [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater david wrote: Bill, just a precision (in Fact I did not understand that you still need to get every minutes the result): the stop() method is at http

Re: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-18 Thread Alex McAuley
: Re: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater Alex McAuley wrote: No need to worry about multiple instances ... just check the variable before you initialise it... Alex Mcauley http://www.thevacancymarket.com Thanks again david and Alex

Re: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-18 Thread bill
*To:* prototype-scriptaculous@googlegroups.com mailto:prototype-scriptaculous@googlegroups.com *Sent:* Tuesday, November 17, 2009 3:18 PM *Subject:* [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater david wrote

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-17 Thread david
HTH Alex Mcauley http://www.thevacancymarket.com   - Original Message -   From: bill   To: prototype-scriptaculous@googlegroups.com   Sent: Monday, November 16, 2009 2:31 PM   Subject: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater   david

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-17 Thread Alex McAuley
-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater david wrote: Bill, just a precision (in Fact I did not understand that you still need to get every minutes the result): the stop() method is at http://api.prototypejs.org/ajax/ajax/periodicalupdater.html#stop

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-16 Thread david
Hi Bill, Isn't it just an Ajax.Request that you need, because the periodical executer is used 'generally' without the need of a user click. I mean, in your exemple, it's like you start at the begginning the periodical updater, and after it reload every time there is new message the target DIV.

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-16 Thread Alex McAuley
- Original Message - From: bill To: prototype-scriptaculous@googlegroups.com Sent: Monday, November 16, 2009 2:31 PM Subject: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater david wrote: Hi Bill, Isn't it just an Ajax.Request that you need, because