Posted By

saturngod on 07/30/10


Tagged

timer color


Versions (?)

color blinking


 / Published in: JavaScript
 

  1. $(document).ready(function(){
  2. colored();
  3. });
  4. function colored()
  5. {
  6. $("#reg").css("color","red");
  7. setTimeout('colorgreen()', 800);
  8. }
  9.  
  10. function colorgreen()
  11. {
  12. $("#reg").css("color","green");
  13. setTimeout('colored()', 800);
  14. }

Report this snippet  

You need to login to post a comment.