Yes, I searched right here and @ Google for a solution. But I spent
now over an hour with debugging and I can't find the solution. Please
help!
Ok, here's my script:
var liveStream = new Ajax.PeriodicalUpdater('live_buehne', '/inc/
live.php?lang=all', { method: 'get', frequency: 5, decay: 2 });
function livestart(lang){
var liveStream = new Ajax.PeriodicalUpdater('live_buehne', '/inc/
live.php?lang=all', { method: 'get', frequency: 5, decay: 2 });
}
function langChange(lang){
liveStream .stop();
liveStream = new Ajax.PeriodicalUpdater('live_buehne', '/inc/live.php?
lang='+lang, { method: 'get', frequency: 5, decay: 2 });
}
But stop() won't stop!
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---