I have a bunch of divs with fixed dimensions that float horizontally, but I want them to animate vertically once one of them is clicked. Looking for a simple plugin or some code help!
Example:
|-------| |-------| |-------|
| 1 | | 2 | | 3 | <-- When Box 1 is clicked, boxes 2 and 3 should animate
|_______| |_______| |_______| vertically instead of their current horizontal alignment.
| The animation does not need to be straight - they can move
|-------| V | over or on top of each other as long as it goes from
| 2 | <-- | horizontal to vertical orientation.
|_______| |
|
|-------| V
| 3 | <----
|_______|