Horizontal sliding doors (improve).

Posted by Kalinin on Stack Overflow See other posts from Stack Overflow or by Kalinin
Published on 2010-06-11T07:54:00Z Indexed on 2010/06/11 9:02 UTC
Read the original article Hit count: 329

I have script:

http://jsfiddle.net/NV2uV/

It works, but I do not like.

Cons:

  1. Wrench (edge blocks).
  2. In the transition from one unit to another - animation is performed in two steps (I want a continuous animation).
  3. Script code is not beautiful, very much repetition.

In short - it looks not nice.

How to improve the script to look at the animation and it was good fo eyes (if you have ready-made solutions - please note me).


Update:

If you set the animation smaller - that animation looks quite nice.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about animation