Pew Pew Laser Blog

Code. Glass art. Games. Baking. Cats. From Seattle, Washington and various sundry satellite locations.

Pew Pew Laser Blog Archives — by Blog ID

jQuery - Vertical Show / Hide Issues.


The only trouble at all that I've encountered with jQuery is that if you study the page carefully as the show/hide animation works, you'll notice a big jump near the end of the animation. This jumpiness when using the slideToggle() function said to only occur when the animating elements have margin or padding.

Phooey, I say! I really dislike having to add extra elements to work around this issue. In my example below, I haven't got any margin or padding on the dt element. There must be something else at work here, and it's driving me nuts.

Katie Katie

I figured out a solution to this issue - see the article Smooth jQuery Animation.


Tags: javascript jquery

Authorized users may log-in to leave a comment.

Last Blog: jQuery - Vertical Show / Hide.

Next Blog: DS Wednesday.