Animate/Ease an element to position when other elements disappear

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2012-10-16T08:12:55Z Indexed on 2012/10/30 5:02 UTC
Read the original article Hit count: 141

Please take a look at this fiddle: http://jsfiddle.net/dhcyA/

Try clicking on a block. What I want is that when the other elements disapear, the selected block will animate/ease to his giving position instead of just jumping like it does now. Then the same animation repeats itself when clicking again on the box, but then back to place.

Maybe to keep in mind:
I'm using a reponsive design, which means those blocks can be vertical and horizontal after scaling the window.

Any redevisions on the fiddle or suggustions would be great!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery