This is my function, when called the related node turns red and then does nothing. Here is the javascript:
function blink (node, flickers) { originalColo
A bit easier to read. http://jsfiddle.net/wUkfe/22/
function blink(node, flickers){ var color = node.style.color; (function blinker(){ node.style.color = (flickers % 2) ? "red" : color; if (flickers--){ setTimeout(blinker, 1000); } })(); }