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.
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. |
|||
|
|||
24 comments :
Very helpful
it,s a greate
super
Nice
thank u very much
Welcome to Aspodtnet-Suresh.com
Spelling Mistake
Thks
It worked for me.
NICE
Thank You Sir
It is very useful for me....
how i can slow the speed
Thanks a lot suresh..
I m blinking a label. It is getting shown according to some conditions,but when i do that blinking stops. Please help.
thanks ,it's working fine
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
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
great it works
its working well on ff and chrome, not working in IE
But it affects built in scriptmanager and some of the other javascripts
yeah this one is really useful
Thanks :)
thanks buddy
thanks buddy
your all posts are very useful thank a lot
Thanks. It was really useful
Note: Only a member of this blog may post a comment.