Thx a lot. Doesn't work. Have this now:

var lang = "all";
var liveStream;

Event.observe(window, 'load', function() {
                livestart('all');
});


function livestart(lang,liveStream){
        if(liveStream){
                liveStream.stop();
                liveStream = undefined;
        }
        var liveStream = new Ajax.PeriodicalUpdater('live_buehne', '/inc/
live.php?lang='+lang, { method: 'get', frequency: 5, decay: 2 });
}


But stop() does not stop. Is there a live working example of start/
stop a periodical updater?



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

Reply via email to