Blink Effect With JQuery

Click here to see the Demo Download File

Check the code given 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>

Ebook Download
View all
Learn
View all