So, here is another question about the smoothness of animations and how I can get them to be smoother. I have a carousel that has 5 "slides" in it and 5 external buttons that move a slide into view (the div is 940 x 357) upon rollover/hover. This works great when you just slowly rollover the buttons in a slow fashion. But if you hover over them fairly quickly things start to get choppy and some glitches happen. It sometimes even happens every so often when you go slow (you'll rollover a button and it will just show the slide rather than animating it in). I was thinking maybe there were some overwrite issues going on, but I tried all the different overwrite settings and it didn't help. Can you see why that would be from my code snippet below?
previousSlide = document.getElementById("slide" + activeSlide);
showSlide = document.getElementById("slide" + slideNumber);
previousSlide.style.zIndex = 7778;
showSlide.style.zIndex = 7779;
if (activeSlide < slideNumber) {
showSlide.style.visibility = "visible";
TweenMax.to(previousSlide, .5, {css:{left:"-940px"}, ease:Circ.easeOut, onComplete:hidePrevious});
showSlide.style.left = "940px";
TweenMax.to(showSlide, .5, {css:{left:"0px"}, ease:Circ.easeOut});
} else if (activeSlide > slideNumber) {
showSlide.style.visibility = "visible";
TweenMax.to(previousSlide, .5, {css:{left:"940px"}, ease:Circ.easeOut, onComplete:hidePrevious});
showSlide.style.left = "-940px";
TweenMax.to(showSlide, .5, {css:{left:"0px"}, ease:Circ.easeOut});
}