How to make /#!/ in our URL?
<p>Everyone!</p>

<p>Almost 3 hours im stack in this problem! iv'e copy the concept in twitter like this if twitter.com/#!/username then the page/profile is username, </p>

<p><a href="http://twitter.com/#!/mardagz" rel="nofollow">http://twitter.com/#!/mardagz</a> as you can see it redirected to my account, so now im trying to make my own by getting the current url.. then i trim to string and split it by (/#!/) and when i try to apply nothing works...</p>

<p>assuming that the current url is <a href="http://www.domain.com/#!/about" rel="nofollow">http://www.domain.com/#!/about</a></p>

<p>the Code:</p>

<pre><code>$(window).load(function () {
      var getUrl = top.location;
      var trimUrl = jQuery.trim(getUrl);
      var splitUrl = trimUrl.split('/#!/')
      //alert(splitUrl[1]);
      switch(splitUrl[1])
        {
            case 'home':
            //Do Something
            break;
            case 'skill':
            //Do Something
            break;
            case 'about':
            //Do Something go to About Us Page!
            break;
        }
    });
</code></pre>

<p>owhh it's not working... whew anyone has a solution for this? :) thank you in advance.. :)</p>
