You are on the right track.
For each state of the ajax page you want to connect to, change the hash tag:
window.location.hash = "this_state"
When the page loads, you need to check if the window.location.hash value matches one of your states, and if the application really goes into that state. ("Listening" to change a hash tag is a page load.)
Thus, your users can add bookmarks and share states, making for a much more convenient application, therefore, details for caring for it.
edeverett May 22 '09 at 15:46 2009-05-22 15:46
source share