title: Implementation of History.js
body: <p>I am trying to implement History.js for my ajax site so that I can use forward and back buttons and even bookmarks. However the example @ <a href="https://github.com/browserstate/History.js/">https://github.com/browserstate/History.js/</a> has me a bit confused as into how to implement it. Does anyone have a simple tutorial or example on how to use this. An example we can use to start the example is a navigation link such as </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  window.onload = function() 
  {
  function1();
  };
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;ul&gt;
  &lt;li&gt;&lt;a href="javascript:function1()"&gt;Function1&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="javascript:function2('param', 'param')"&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>