title: moved to left and right after click?
body: <p>My code does not work. What I want is to move my pagination to the left and to the right after <code>#prev_pag</code> and <code>#next_pag</code> are clicked on. I don't know why this code isn't working?</p>
  
  <p><strong>EXAMPLE:</strong> <a href="http://jsfiddle.net/szVKD/" rel="nofollow">http://jsfiddle.net/szVKD/</a></p>
  
  <p>JS code:</p>
  
  <pre><code>$('#next_pag').click(function() {
          $('#pagination').animate({
              marginLeft: '-=100px'
          },
          500);
      });
      $('#prev_pag').click(function() {
          $('#pagination').animate({
              marginLeft: '+=100px'
          },
          500);
      });
  });
  </code></pre>