title: Scroll to div smoothy after page load and not directly
body: <p>I have a php page and I am trying to scroll user to section automatically after entire page is loaded. Right now it takes directly to that section on page load, I want entire page to be loaded and then scroll the page to that div. What I am doing is.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  &lt;!--
  function gotoit()
  {
  window.location="#gohere";
  }
  //--&gt;
  &lt;/script&gt;
  
  &lt;body onload="gotoit()"&gt;
  some code here
  &lt;a name="gohere"&gt;&lt;div class="I want to scroll to this div"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Please help me what should I do to scroll smoothly to that section automatically after page load.</p>