Countdown using javascript
<p>I'm trying to create a countdown for a quiz I created. The quiz will create a percentage and I am trying to create a JavaScript function that will count down from 100% to the users quiz score percentage.</p>

<p>Also is it possible to change the color of the percentage while it's counting down? 
Example 100% Green and it starts to fade to red when it hits 59% and below?</p>

<p>What I am working with now: </p>

<pre><code>&lt;div id="counter"&gt;
&lt;/div&gt;

var stop = 6;

for(i=1; i &lt;= 100; i++) {
    $('#counter').append('&lt;p&gt;' + i + '%');
}

$('#counter').cycle({
    delay: 600,
    fx:     'none',
    backwards: true,
    speed: 300,
    timeout:  60, 
    autostop: 1,
    autostopCount: stop,
});
</code></pre>

<p>Link:<a href="http://jsfiddle.net/joshsmith/WE3UA/4/" rel="nofollow">http://jsfiddle.net/joshsmith/WE3UA/4/</a></p>

<p>Thank You</p>
