Add Blinking text using jQuery | Blinking Effect to Text in jQuery

<html>
<head>
<title>Add blinking effect to text in jQuery</title>
<script type=”text/javascript” src=”http://code.jquery.com/jquery-1.8.2.js”&gt;
</script>
<script type=”text/javascript”>
$(function() {
blinkeffect(‘#txtblnk’);
})
function blinkeffect(selector) {
$(selector).fadeOut(‘slow’, function() {
$(this).fadeIn(‘slow’, function() {
blinkeffect(this);
});
});
}
</script>
</head>
<body>
<form id=”form1″ runat=”server”>
<div id=”txtblnk”> <p><strong><font color=”red”>RUSHI V SHAH</font></strong></p> </div>
</form>
</body>
</html>
Advertisements

One thought on “Add Blinking text using jQuery | Blinking Effect to Text in jQuery

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s