I\'ve written a function that changes the css positioning of a div
I\'ve been successfully using setTimeout to call the function at a specific interval
NOW what
My approach to these self calling functions.
var i = -1; (function cssPositioning() { i++; if ( i < 28 ) { changeDirection(divlist[i]); setInterval(cssPositioning, divs[divlist[i]].speed); } })();