you are here: codestackercodes [RSS] → tag jquery javascript [RSS]

jquery mouseover/mouseout effect in link

<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://ui.jquery.com/latest/ui/effects.core.js"></script>
<script type="text/javascript">
$(document).ready( function() {		
	$(".link").mouseover(function() {
		$(this).animate({ color: "#022d3f" }, 1000);
	}).mouseout(function() {
		$(this).animate({ color: "#ccc" }, 1000);
	}) 
</script>
Displaying 1 Code