title: smooth scroll jquery script works in chrome but dont works in firefox?? why?
body: <p>Works fine in google chrom but dont works in firefox.
  I got some bad code or its a browser problem?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $("#menu a").click(function(){
      var faqId = $(this).attr("href");
      $("body").animate({scrollTop: $(faqId).offset().top}, "slow");
      return false;
  });
  
      $("#footer a").click(function(){
      var faqId = $(this).attr("href");
      $("body").animate({scrollTop: $(faqId).offset().top}, "slow");
      return false;
  });
  &lt;/script&gt;
  </code></pre>