/ Published in: jQuery

This was originally programmed for a Wordpress Menu (hence the class names)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
jQuery(document).ready (function() { jQuery("li.menu-item > a").hover( function () { jQuery(".menu-item > a").not(this).animate({ opacity: .5 }, 0, 'linear', function() { }); }, function () { jQuery(".menu-item > a").animate({ opacity: 1.0 }) } ); });
Comments
