Edit in JSFiddle

<p><a href='#' id='steper'>Play</a></p>
<strong>Results</strong>
<div id='result'>1. I will change</div>
#result{font-family:"Courier New"; border:1px solid #abc; margin-top:10px;
var stack = new FunctionStack(
    function(){$('result').set('html','2. changed')},
    function(){$('result').set('html','3. changed again')},
    function(){$('result').set('html','4. changed last time')}
);

$('steper').addEvent('click',function(){stack.play(1000);});