It seems like the easing function in .animate is causing an issue where your percentage widths add up to more than 100%, making the last sub-DIV disappear. There are a couple of solutions for this problem.
By replacing your percentage widths with fixed numeric widths, I was able to make the issue go away. Here's the simplified code:
$('document').ready(function() {
var speed = 450;
$('.four-ways-slide').hover(function() {
$(this).stop().animate({
width: 425
}, speed).siblings().stop().animate({
width: 25
}, speed);
}, function() {
$(this).siblings().andSelf().stop().animate({
width: 125
}, speed);
});
});
http://jsfiddle.net/mblase75/ZspZT/10/
Alternatively, you can use percent widths that add up to 99% instead of 100% and set a background color on the container DIV to hide the gap. Adding linear easing to the .animate method can prevent the total width from exceeding 100%:
$('document').ready(function() {
var speed = 450;
$('.four-ways-slide').hover(function() {
$(this).stop().animate({
width: '75%'
}, speed, 'linear').siblings().stop().animate({
width: '8%'
}, speed, 'linear');
}, function() {
$(this).siblings().andSelf().stop().animate({
width: '24.5%'
}, speed, 'linear');
});
});
#four-ways-slide-4,#four-ways-slider{background:#999999;}
http://jsfiddle.net/mblase75/ZspZT/9/