jQuery: toggle('slow') animation from top down?

javascript, jquery

Solution

Try `.slideDown('slow')`. Note that this will only work for sliding down (to reveal) and sliding up (to hide). For anything more complex, you're looking for `.animate(...)` or something from jQuery UI.

Problem

In my code I use jQuery's `toggle('slow')` animation to make a hidden div appear/disappear. It expands from the upper left to the bottom right. How can I make it expand from the top towards the bottom, instead (no left-to-right growth)?

Original source