Fork me on GitHub

Zeke Sikelianos

Mumblings from the code swamp. Find my more interesting online-ness at zeke.sikelianos.com.

Preventing Jumpy/Buggy jQuery Animations

Ever noticed how sometimes you’ll use a jQuery animation effect like slideToggle() and the DOM element kinda chops its way through the animation? It turns out that elements you’re animating need to have their widths and heights hard-coded in order to animate predictably. Here’s my solution:


Page 1 of 1