title: Scroll to div after page load
body: <p>I want to make my page scroll to div <code>id='#pageload'</code>
  if it is loaded from url <code>http://www.website.com/#pageload</code></p>
  
  <p>I used the code below but all pages redirect to <code>http://www.website.com/#pageload</code></p>
  
  <pre><code>if(document.location ="/#pageload") {
      $('html, body').animate({
          scrollTop: $('#pageload').offset().top
      }, 'slow');
  }
  </code></pre>
  
  <p>How can I fix it? Thank you very much.</p>