How to repeat (loop) Jquery fadein - fadeout - fadein
问题 I am struggling with my first jQuery script. I've got a DIV on my page that is set to hide via CSS. Then, I have this script that runs to make it fade in, fade out, then fade in again: <script type="text/javascript"> (function($) { $(function() { $('#abovelogo').fadeIn(1000).delay(2000).fadeOut(1500).delay(2000).fadeIn(1500); }); })(jQuery); </script> This part works fine. Now, my question: How do I change it so that this script runs loops (forever) instead of just once? Thanks in advance!