Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2013
    Posts
    1
    Tokens
    0

    Exclamation Navigation without showing hash

    Hey guys,
    so I've seen now that some websites are using the ajax navigation, but they load the pages without showing the "#!", so instead of having the url like "example.com/#!/home", it shows up like "example.com/home" but it still is an ajax navigation.
    I believe that this is called pushState, but I don't really know how to switch from window.location.hash to that, so if anybody knows something about this or how to do it, please show me how can I do it!

    Thank you!

  2. #2
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    It's called the history API, I'd suggest poking around the source code of http://html5demos.com/history/ and you'll get the idea.
    Chippiewill.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •