Realtree

From the to-do list: 001 - Dev Edits

✔ animate txt rollover colors

Comments

Justin Bernard on September 1, 2015:

$("#link").hover(function(){ 
  $(this).stop().animate({ color: '#fed900'}, "slow"); 
}, function() { 
  $(this).stop().animate({ color: '#000000'}, "slow"); //original color 
});

Justin Bernard on October 12, 2015:

see if someone has a jquery plugin/etc so that i can cross fade between text links colors.  ie if the text link was red by default, and on hover it fades to blk.  i know i can manually do it like above, thought there may be a plugin to simplify a bit so not have to copy paste a billion lines of code for diff buttons

Taylor Bernard on October 12, 2015:

jquery does animations but not color by default.
have to either use the JQuery UI library in addition to base Jquery build, or this person also made a library addon that has bug fixes.

http://www.bitstorm.org/jquery/color-animation/

Taylor Bernard on October 12, 2015:

let me know on this. curious to how you do rollover call to the function vs button click initiate.