title: Can speed be defined instead of duration for jQuery animations?
body: <p>I've this position that is dependent on dynamic value. It makes sense that shorter distance should be animated faster but with appearance of same amount of acceleration (speed). However, in jquery docs I only see a way to define duration which is ok for lots of things but not for others. How can I define speed so if value is small duration is small too and if value is long then duration is long to. thanks.</p>