Posted By

welancers on 10/09/12


Tagged

jquery text blink


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

BrockSamsom


Blink Text using jQuery


 / Published in: jQuery
 

Assign to the text or html element you want to blink & put the snippet code before closing head tag.

  1. <script type="text/javascript" >
  2. function blink(selector){
  3. $(selector).fadeOut('slow', function(){
  4. $(this).fadeIn('slow', function(){
  5. blink(this);
  6. });
  7. });
  8. }
  9.  
  10. $(document).ready(function(){
  11. blink('.blink');
  12. });
  13. </script>

Report this snippet  

You need to login to post a comment.