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-instance_method > > normally, you could stop & start the peridical updater at will. > > -- > david > Thanks david and Alex,
So what is the best practice: 1) create the periodicalupdater when the page loads, stopping it immediately and then start it when the div becomes visible and stop it when the div becomes invisible. 2) create the periodicalupdater when it becomes visible and stop it when it becomes invisible Or is there any difference ? (I worry about multiple instanting the periodicalupdater ) -- Bill Drescher william {at} TechServSys {dot} com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---