That did the trick. Odd that this only caused an issue in firefox 2.
Anyway, thanks!
- scott
On Jun 24, 5:10 pm, Scott Windsor swind...@gmail.com wrote:
Thanks, I am using jquery. I'll give this a try!
- scott
On Jun 24, 7:17 am, upi teich...@gmx.de wrote:
I had the very same problem
How to stop it? arguments?
Stopping it is as easy as:
pe = foo.repeat();
pe.stop();
Passing arguments would require some simple currying:
Function.prototype.repeat = function(interval) {
var fn = this;
if (arguments.length 1) {
// not testsed but you get the idea
fn =
Tobie,
Function.prototype.repeat = function(interval) {
var fn = this;
if (arguments.length 1) {
// not testsed but you get the idea
fn = fn.curry.apply(fn, Array.prototype.slice.call(arguments, 1));
}
return new PeriodicalExecuter(fn, interval);
}
If sticking to the PE