title: how to change speed of javascript transition
body: <p>Hello this is my code for a div sliding in from the left, how do I adjust the speed of the slide-in animation?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
  $("div.leftContainer")
  .css("margin-left",-$(this).width())
  .animate({
      marginLeft:0
  }, 1000);
  });
  &lt;/script&gt;
  </code></pre>