Here you need a few changes, first you should animate only the color, for example:
$(function(){
$('#footer a').mouseover(function(){
$(this).animate({
borderBottomColor: '#D8D8D8'
}, 1000, function() {
});
});
});β
In addition, give the border its initial size so that it doesnβt just βappearβ (when changing from 0 to 1px), for example:
ββ#footer a { border-bottom: solid 1px transparent; }β
, jQuery UI, ... ββ , .
, , :
$(function(){
$('#footer a').hover(function(){
$(this).animate({ borderBottomColor: '#D8D8D8' });
}, function() {
$(this).animate({ borderBottomColor: 'transparent' });
});
});
β