3 ms·
I knew nothing of the HTML 5 history API until I read this. I found this page in the Mozilla docs to be fairly informative: https://developer.mozilla.org/en/DO
by chris_j 16y ago
I knew nothing of the HTML 5 history API until I read this. I found this page in the Mozilla docs to be fairly informative:
https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history https://developer.mozilla.org/en/DOM/Manipulating_the_browse...
I look forward to the day when this API is supported by all the major browsers. In the meantime, the article suggests a sensible-looking set of steps for gracefully degrading.(and using hash-bang URLs as little as you can).
The frustrating thing about all this is that, until HTML 5, there hasn't been any way of causing the contents of the URL bar to change to an arbitrary URL within your site without reloading the page.