Tuesday, June 21, 2016

Blinking Text effect


<span id="elementIdToBlink">    
   any text to blink.
</span> 

<script>
$(function(){
    // Self-executing recursive animation
    (function pulse(){
        $('#elementIdToBlink').delay(1000).fadeOut('slow').delay(50).fadeIn('slow',pulse);
    })();
});
</script>


reference:
http://stackoverflow.com/questions/7223503/jquery-pulsate-times



Done!!

LinkWithin

Related Posts Plugin for WordPress, Blogger...