SetTimeout function

I have a problem, I don't know why to make this line of code to work:
setTimeout("openingBox(" + box + ", " + current + ", " + max + ")", 20);

The box, current, max variabiles exista and the openingBox too, I just can't make the setTimeout function to work with variables as parameters, could someone please help me do this?
August 14,
try setTimeout(function(){...}, 20);
Alex (ActiveWidgets)
August 14,

This topic is archived.

See also:

Back to support forum