Blink Effect With Jquery

Click here to see Demo

Download File

Check the code below

<html xmlns=”http://www.w3.org/1999/xhtml ” >
<head>
<title></title>
<script src=”http://code.jquery.com/jquery-1.11.0.min.js ” type=”text/javascript”></script>

<style type=”text/css”>
h2
{
color:Red;font-family:Colonna MT;
}
</style>
<script type=”text/javascript”>
$(document).ready(function () {

$(function () {
blinkeffect(‘h2’); // put your selector int this function
})
//implementation of blinkeffect function
function blinkeffect(selector) {
$(selector).fadeOut(‘slow’, function () {
$(this).fadeIn(‘slow’, function () {
blinkeffect(this);
});
});
}
});

</script>
</head>
<body>
<h2>Blink effect with jquery</h2>
</body>
</html>

Advertisements

One thought on “Blink Effect With 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