Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • I should mention that hashchange has some browser support caveats, so you might have to do something to handle that. If you Google it, you'll see what I mean. Also, if you're unconcerned with later browsers, you can always look into the history navigation API... Commented Mar 13, 2012 at 12:44
  • This doesn't appear to be doing anything in Firefox. Commented Mar 13, 2012 at 13:13
  • Unfortunately I couldn't keep trying this method because I had to hack apart the menu anyway and do something different. The below solution worked in my new scenario. Thank you for the help though, never knew about the hashchange() function, looks pretty neat. Commented Mar 13, 2012 at 13:36