jurb – Javascript URL Rewrited Bookmarker

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 :) .



 
 
 
Leave a comment
* Required.
* Required. Not published.
If you have one.

 

What we do

We do web programming and we do it at its best:
  • Websites based on MVC platform
  • Wordpress plugins and templates
  • Drupal modules and themes

Facebook for Business Purposes

 

Facebook has long ended in being just a social networking website and nobody could have predicted that it will be used as a powerful marketing tool. The fact that boosted the evolution of this socializing platform into such a powerful instrument is that nowadays it is available on any device that has a basic modern [...]