Showing posts with label jquery. Show all posts
Showing posts with label jquery. Show all posts

Tuesday, March 15, 2011

Blinking text using jquery

Hi,

The following code is to blink the text using jquery


<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.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>