[Proto-Scripty] Re: Can't stop and start Ajax.PeriodicalUpdater

2009-03-13 Thread flughund
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;

[Proto-Scripty] Re: Can't stop and start Ajax.PeriodicalUpdater

2009-03-13 Thread flughund
hm, ok. But how can I change a runnig PUpdaters options? Is there a better way? btw: http://osdir.com/ml/lang.ruby.rails.spinoffs/2006-07/msg00269.html I don't understand the article, but maybe... --~--~-~--~~~---~--~~ You received this message because you are

[Proto-Scripty] Re: Can't stop and start Ajax.PeriodicalUpdater

2009-03-08 Thread flughund
Hm, thx for quick answer. Now I tried to set only one PeriodicalUpdater like this: var liveStream = ; Event.observe(window, 'load', function() { livestart(); }); function livestart(){ var liveStream = new Ajax.PeriodicalUpdater('live_buehne', '/inc/ live.php?lang=all',