tags:

views:

21

answers:

1

Hello,

I want to use .animate to change colors when .bind('click')is fired, using jquery

$('#selector').animate({width:'2.5%'},'slow').css('background-color','#F2F2F2');

<style>
#selector{
background-color:#CCCCCC;
}
</style>

Thanks Jean

+3  A: 

You need the color plugin

http://plugins.jquery.com/project/color

macek