Friday, 3 August 2012

text Blink with Jquery


.min.js"></script>

<div id="msg"> <strong><font color="red">Awesome Gallery By Anil Labs</font></strong></p> </div>

<script type="text/javascript" >
function blink(selector){
$(selector).fadeOut('slow', function(){
$(this).fadeIn('slow', function(){
blink(this);
});
});
}

blink('#msg');
</script>

2 comments:

  1. text Blink Using css in google crome
    @-webkit-keyframes blink {
    from { opacity: 1.0; }
    to { opacity: 0.0; }
    }

    blink {
    -webkit-animation-name: blink;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0);
    -webkit-animation-duration: 1s; }

    ReplyDelete
  2. Suggestion use live click
    Because actually faster than the former and attach handlers to DOM elements that may not yet exist in the DOM.

    ReplyDelete