Javascript examples for jQuery Method and Property:mouseover
JQuery mouseover and animate
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.4.2.js"></script> <script type="text/javascript"> $(window).load(function(){/* w w w.jav a 2 s .c om*/ $('a.home-page-link').mouseover(function() { $(this).animate({ opacity: 0.4 }, 200, function(){}); }); }); </script> </head> <body> <a class="home-page-link" href="#">test</a> </body> </html>