animated background color

demo: oberhansl.de/preview

or http://oberhansl.de

what you will need:

js:

$(document).ready(function() {
	// menu hover effekt animate background
    $('.menu_div a').hover(
        function(){
            $(this).animate({ backgroundColor: '#c60086' });
            var color = $(this).css("color");
        },
        function(){
            $(this).animate({ backgroundColor: 'transparent' });
            $(this).css("color","#AAAAAB");
        }
    );
});

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin