Good for AJAX, Flash and many more (what ever you set your mind to use it with).
How it started:
Long ago I had faced a problem. I made ajax based applications (pages loaded dynamically using ajax) and users could not bookmark pages. So I googled and googled and found this. But that is not exactly what I wanted (the age of variable=value is somewhat gone) so I made my own rewrited bookmarker so links would looke like this:
http://www.mbe.ro#pages/home
I called it jurb and it is quite easy to use. Simply insert the code below into your header and “watch the magic”.
<script type="text/javascript" src="js/jurb.js"></script>
After that, at any time simply use
jurb.getLocation();
and you will have an array like this:
- 0 is the hall string
- from 1 to inf. are the “/” separated values from the link
You also have the onChange and the onLoad which you probably figured out what they do.
One example is here and the code can be downloaded from here.
Enjoy
.


No Comments