Created
November 14, 2011 21:00
-
-
Save orhanveli/1365146 to your computer and use it in GitHub Desktop.
opac link elements and hover efect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("a.opaque-links").css("opacity", "0.4"); | |
$("a.opaque-links").hover( | |
function () { | |
$(this).stop(true, true).animate({ opacity: "1" }, 200); | |
}, | |
function () { | |
$(this).animate({ opacity: "0.4" }, 500); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment