you can use: not (this), so change:
$('a.parent').each(function(){ $(this).stop(true,false).animate({ width: '140px' },200,function(){ }); });
to:
$('a.parent:not('+this+')').each(function(){ $(this).stop(true,false).animate({ width: '140px' },200,function(){ }); });
or use .not (this) after $ ('a.parent'), therefore:
$('a.parent').not(this).each(function(){ $(this).stop(true,false).animate({ width: '140px' },200,function(){ }); });
hakim-sina
source share