Refresh page when url hash is present
<p>I have a navigation system on my site that uses javascript to slide horizontally stacked divs left and right into view.  I'm trying to make the site function better with javascript turned off, so I have a second navigation system that uses hash values to 'go to' the appropriate section. <br /><br />
The problem arises if someone is on say <a href="http://mysite.com/#page2" rel="nofollow">http://mysite.com/#page2</a> then turns javascript on. The page reloads at the #page2 section which then causes the javascript enabled navigation system to not work correctly. e.g. it reloads thinking the page is at section 1 when it is actually displaying section #whatever.<br /><br />
I have tried adding parent.location.hash = ''; but when the page reloads, it still stays on whichever section it was on.<br /><br />
Any ideas on how to make the page fully refresh when javascript gets turned on?</p>
