title: jquery rotate div and make it move up.
body: <p>Hi guys. I've got an image which I have put inside of a div. Basically I am trying to figure out how to rotate it and then make it move. I have tried some code but it's not working. Any help on this matter would be great. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function() {
      var $elie = $("#super");
      rotate(22);
  
      function rotate(degree) {        
          $elie.css({ WebkitTransform: 'rotate(' + degree + 'deg)'});  
          $elie.css({ '-moz-transform': 'rotate(' + degree + 'deg)'});                      
          timer = setTimeout(function() {
              rotate(++degree);
          },22);
      }
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>For some reason that code is not working and making the image rotate. Thanks again. </p>