Попробуйте позвонить .stop () до анимации:
$(document).ready(function() {
$('div', '#nav_container').hover(function() {
$(this).stop();
$(this).animate({width: '220px'}, 1000);
}, function() {
$(this).stop();
$(this).animate({width: '300px'}, 1000);
});
});
РЕДАКТИРОВАТЬ: Если вы хотите изменить размер изображения вместо DIV, где оно содержится. Попробуйте это:
$(document).ready(function() {
$('#nav_container div').hover(function() {
$(this).children('img').stop().animate({width: '220px'}, 1000);
}, function() {
$(this).children('img').stop().animate({width: '300px'}, 1000);
});
});
Вам может потребоваться настроить ширину и продолжительность, чтобы получить желаемый эффект.