Posted By

crutchie on 04/10/10


Tagged


Versions (?)

Flashing object using fadeTo


 / Published in: jQuery
 

  1. function doFlash(target)
  2. {
  3. $(target).fadeTo(500, 0.5, function() {
  4. $(target).fadeTo(500, 1, function() {
  5. doFlash(target);
  6. });
  7. });
  8. }
  9.  
  10.  
  11. $(document).ready(function() {
  12. doFlash("img");
  13. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: crutchie on April 10, 2010

Demo: http://www.chal.nu

You need to login to post a comment.