Reputation: 22030
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
Upvotes: 1
Views: 48