X10nD
X10nD

Reputation: 22030

I want to use .animate colors when triggered using jquery

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

Answers (1)

maček
maček

Reputation: 77778

You need the color plugin

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

Upvotes: 4

Related Questions