title: scrollTop jQuery, scrolling to div with id?
body: <p>So this is the current code I have</p>
  <pre><code>$(document).ready(function() {
      $('.abouta').click(function(){
          $('html, body').animate({scrollTop:308}, 'slow');
          return false;
      });
      $('.portfolioa').click(function(){
          $('html, body').animate({scrollTop:708}, 'slow');
          return false;
      });
      $('.contacta').click(function(){
          $('html, body').animate({scrollTop:1108}, 'slow');
          return false;
      });
  });
  </code></pre>
  <p>When you click a link e.g. 'abouta' it scrolls to that specific section of the page. I'd rather do a <code>scrollTo</code> and then the id of a div so that I don't have to keep changing the <code>scrollTo</code> position if I change padding etc. Is there any way?</p>