I've run into this problem a couple of times and found it was caused by having padding on the container beign animated. Padding isn't taken into account when computing an element's dimensions (or at least the specs say it shouldn't be) so a box with a height of 400px and padding of 5px all around is actually 410px tall (400px plus 5px padding top plus 5px padding bottom).
the slideUp animation is implemented by decrementing the element's height until it's 0 and then hiding it. This means that if there is padding then the element won't actually be 0px tall when the element is hidden, it will be 0px plus the padding. This causes an apparent jump when the animation ends. On Sep 24, 6:22 pm, "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > Hello, > > Maybe this has everything to do with implementation and is not a fault > of jQuery but I've always wondered why animations (like slideDown) do > not finish smoothly. > > Case in point:http://leandrovieira.com/projects/jquery/lightbox/ > > The animation is smooth until the very end where it jumps to completion, > skipping several "frames" of motion. Why is that? I've noticed it in my > own basic animations too. > > Thanks, > Chris.