Pages

Tuesday 2 July 2013

How To Add Blinking text using jQuery Or Blinking Effect to Text in jQuery in c# Asp.Net

How To Add Blinking text using jQuery Or Blinking Effect to Text in jQuery in c# Asp.Net


Program:

.Aspx File:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>blinking effect to text</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 fantasyaspnet.blogspot.in</font></strong></p> </div>
</form>
</body>
</html>

Live Demo:

blinking effect to text
Welcome to fantasyaspnet.blogspot.in

No comments:

Post a Comment