Static content on website - when the url changes

Please correct me if my title is confusing, but I don't understand how this site works. The URL changes, but the title is static and the music plays without interruption.

(URL removed)

I know hash tags, but as I see here, the whole url changes.


source to share

2 answers

In short, HTML5.

You can change the url to whatever you like using window.history.pushState ()




For crossbrowser support and backward compatibility check out the BB Almans BBQ plugin (JQuery / Javascript), it does a great job with history and PushState.

What happens on is you only visit one page and the rest of the content is pulled in by ajax and the url is updated to reflect the ajax content.

If you need to know about ajax you can refer to the jquery documentation



All Articles