Yup: Build a simple function that, at its end, sets a timeout to run itself again.
var changeItem = function(){}; // it'll probably need this in order to use the function name inside the function itself.
function changeItem() {
// rotate item in the list, then
setTimeout(changeItem, 5000); // run again in 5 seconds
}
- daniel parker -