Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

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

Feb 4, 2013
Introduction
  
Here I will explain how to add blinking effect to text using
jQuery in asp.net.

Description:
  
In previous posts I explained
jQuery Get number of facebook likes, shares count for url, jQuery Google Currency Converter API Example, jQuery Highlight gridview rows on mouseover and many articles relating to jQuery, modal popup, asp.net. Now I will explain how to add blinking effect to text using jQuery in asp.net.

To implement this functionality we need to write the code like as shown below


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Add blinking effect to text in jQuery</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></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">Welcome to Aspodtnet-Suresh.com</font></strong></p> </div>
</form>
</body>
</html>
Live Demo

Check below text for live demo


Welcome to Aspodtnet-Suresh.com

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

24 comments :

Unknown said...

Very helpful

Unknown said...

it,s a greate

hema said...

super

Manu Vats said...

Nice

vinodha said...

thank u very much

Anonymous said...

Welcome to Aspodtnet-Suresh.com
Spelling Mistake

Sripal said...

Thks
It worked for me.

Venkatesh Ekkaluri said...

NICE

Unknown said...

Thank You Sir

It is very useful for me....

Anonymous said...

how i can slow the speed

Anonymous said...

Thanks a lot suresh..

Anonymous said...

I m blinking a label. It is getting shown according to some conditions,but when i do that blinking stops. Please help.

Unknown said...

thanks ,it's working fine

Anonymous said...

Hi Suresh,
Really its helpful post, But i need bit more help from you.

As per my requirement, i need to blink a text in Master Page, and i will update the blinking text in child page which is having Update panel. So i use one update panel in Master Page for blinking Text, for the first time child page load blinking is working fine, but in case of partial post back from child window i can able to update blinking text, but the jQuery is failed to blinking the text.

Thanks in Advance,
Karthikeyan
Karthmca2k11@gmail.com

Anonymous said...

Hi Suresh,
Really its helpful post, But i need bit more help from you.

As per my requirement, i need to blink a text in Master Page, and i will update the blinking text in child page which is having Update panel. So i use one update panel in Master Page for blinking Text, for the first time child page load blinking is working fine, but in case of partial post back from child window i can able to update blinking text, but the jQuery is failed to blinking the text.

Thanks in Advance,
Karthikeyan
Karthimca2k11@gmail.com

Anonymous said...

great it works

Anwer jamal said...

its working well on ff and chrome, not working in IE

neohacker said...

But it affects built in scriptmanager and some of the other javascripts

Timesh KB said...

yeah this one is really useful

Anonymous said...

Thanks :)

Unknown said...

thanks buddy

Unknown said...

thanks buddy

Unknown said...

your all posts are very useful thank a lot

Unknown said...

Thanks. It was really useful

Give your Valuable Comments

Note: Only a member of this blog may post a comment.

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.