Implementing deeplinking with multiple levels
<p>I need to implement deeplinking for my site as it's built heavily in AJAX. I understand the basic idea and have got deeplinking implemented for my top level nav. Problem is my site has multiple levels. A user can click on the top nav, which adds to the hash and then click on a secondary nav and a tertiary nav. I also need to add this secondary and tertiary nav click in to the hash...and then also be able to remove that item when the user clicks back on a primary nav item. I can't think of a way to do this...any ideas?</p>

<p>Oh and the code (jQuery) I'm using to achieve the hashing on the primary nav is:</p>

<pre><code>updateHash : function(hash) {
    var hashHistory = [];
    location.hash = hash;
}
</code></pre>
