Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 76
    fadeTo(0000) - Metallica Commented Nov 28, 2014 at 9:43
  • 1
    how to do this infinite?
    – tomexsans
    Commented Aug 25, 2015 at 7:38
  • 1
    Example link broken.
    – meshy
    Commented Jan 25, 2018 at 14:47
  • Excellent and easy jQuery solution.
    – Jason
    Commented May 1, 2018 at 15:34
  • 2
    @tomexsans $.fn.flashUnlimited=function(){$(this).fadeTo('medium',0.3,function(){$(this).fadeTo('medium',1.0,$(this).flashUnlimited);});} You can then call it like $('#mydiv').flashUnlimited(); - It does what Majal answered above, and calls itself again at the end of the cycle. Commented Sep 24, 2019 at 1:17