function doAnimation(element, stuff){
setTimeout(animate(element, stuff), 1000);
}
function animate(element, stuff) {
}
Is there a simple solution to my problem? I have looked all over the place but cannot find what I am looking for.