Ajax url navigation
<p>I'm trying to make something similar to GitHub that loads content based on the url.</p>

<p>I saw this <a href="http://stackoverflow.com/questions/2586661/url-navigation-in-an-ajax-based-website">article</a>, but I do not want to use a plugin. I would like to write my code manually.</p>

<p>One article I saw <a href="http://yensdesign.com/2008/11/creating-ajax-websites-based-on-anchor-navigation/" rel="nofollow">here</a>, they kept checking the document.location.hash for any changes, then load the content. Is there a better way to achieve this? </p>

<p>The following are what Im thinking about:</p>

<ol>
<li>Load content on page load.</li>
<li>Load content on url change.</li>
<li>Change url from anchor tag without reloading page.</li>
<li>SEO.</li>
<li>Back button.</li>
</ol>
