.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Code Snippets >> ASP.NET Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

How to add blink effect in the textbox

Posted By:Ashutosh Jha       Posted Date: September 22, 2014    Points: 40    Category: ASP.NET Controls    URL: http://www.dotnetspark.com  

In the below code i will explain how to add a blink effect in the asp.net textboxes.
 

In the below code i will explain how to add a blink effect in the asp.net textboxes.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Blink text using JQuery</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.js"></script>
<script type="text/javascript">
$(function() {
blinkeffect('#div1');
})
function blinkeffect(selector) {
$(selector).fadeOut('slow', function() {
$(this).fadeIn('slow', function() {
blinkeffect(this);
});
});
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="div1">Blinking Text</div>
</form>
</body>
</html>

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend