General
A JavaScript-based library for managing browser history (back button) and providing support for deep linking for Flash and Ajax applications.
Notes
- Created by: Kevin Newman
- Web Site: http://www.unfocus.com/projects/HistoryKeeper/
- Posted: June 8, 2007
Features include:
- Hash based deep linking (Anchor style -
index.html#foo=bar) - Event driven - Subscriber pattern
- Support for all current browsers
Limitations:
- All history entries (back button states) modify the location string.
- Doesn't remember last entry if you leave the app and come back in some browsers.
- Editing the URL manually will stop further updates to the URL in some browsers.
- Konqueror support is still a bit flaky.
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: historyKeeper.js
Head
Paste this code into the HEAD section of your HTML document.
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.
