jQuery animate border -


hi trying animate border of input no matter how put border doesn't seem animate.

my current code:

$(this).animate({border : '1px solid #f00'}, 'slow', 'linear');

you have set border color , style css properties in full jquery :

$(this).css({bordercolor:"#f00",borderstyle:"solid"}).animate({borderwidth : '3px'}, 'slow', 'linear'); 

you need plug-in animate border color in jquery, check : http://www.bitstorm.org/jquery/color-animation/

then..

$(this).animate({bordercolor: '#f00'}); 

maybe that's someone...


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -