Home › Forums › JavaScript › Nice Txt Fade that i’m interested in › Re: Nice Txt Fade that i’m interested in
June 17, 2010 at 10:03 am
#78148
Member
Quote:
I use jQuery:
Code:
$(‘.footer_infoData’)
.mouseenter(function() { $(this).find(‘li, li a’).stop().animate({ color: ‘#9DC153’ }, 500); })
.mouseleave(function() { $(this).find(‘li, li a’).stop().animate({ color: ‘#071F09’ }, 500); });
.mouseenter(function() { $(this).find(‘li, li a’).stop().animate({ color: ‘#9DC153’ }, 500); })
.mouseleave(function() { $(this).find(‘li, li a’).stop().animate({ color: ‘#071F09’ }, 500); });
Works with all major Browsers.
You will have to include some kind of jQuery color transition plugin, because stand alone jQuery can’t animate one colour to another by itself.