cufon with jquery color
cufon with jquery color
I'm using jquery for a hover effect on my links and it works fine until I add cufon – then the color effect happens in reverse and very erratically. Is there anything here that looks like it would be causing a conflict?
-
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/proximanova.js" type="text/javascript"></script>
<script type="text/javascript">Cufon.replace('li', {hover: true});</script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.color.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".link a").hover(function() {
$(this).stop().animate({ color: "#fe5d43" }, 200);
}, function() {
$(this).stop().animate({ color: "#838383" }, 400);
});
});
</script>
Thanks for any advice!