title: Moving elements with javascript
body: <p>What are the best practices for moving elements with javascript? 
  Do you use timeouts or intervals? 
  Is it bad to have timed events for 10 milliseconds, or will it be precise? 
  Do you move pixel by pixel, or a certain fraction of the total distance?
  If you use intervals, how do you stop the interval when the element is in position?</p>
  
  <p>The last two times I've seen motion in javascript have been with jQuery and Raphael.js, neither of which I can understand the source code of. Are there some good tutorials or code examples anywhere? Is there a simple explanation of the methods jQuery uses?</p>