title: move element up down jquery
body: <p>I have an html span element with a background-image added. Using jquery, I am trying to make it move up and down Without stopping. But, unfortunately, I am not that familiar with jquery. Here is what I have: </p>
  
  <pre><code>    $(".cloud").animate( {"top": "+=20px"}, 3000, "linear", function() {
          $(".cloud").animate( {"top": "-=20px"}, 3000, "linear", function() {
              $this.moveCloud();
          });
      });
  </code></pre>