Name: Anonymous 2017-01-03 12:55
So. Soundcloud. Lets you play music right? and when you click a link inside soundcloud the url bar updates, the content updates but the music player at the bottom stays!
This is done using HTML5 history manipulation "pushstate" http://diveintohtml5.info/history.html - when you click a link it just triggers a javascript call to push state and then updates the main content div, they're not actually a href's that do a new HTTP get like normal links. They even hook the back button so that they make the illusion seem real.
Here's my answer to all this: http://i.imgur.com/togzIsm.gif
This is done using HTML5 history manipulation "pushstate" http://diveintohtml5.info/history.html - when you click a link it just triggers a javascript call to push state and then updates the main content div, they're not actually a href's that do a new HTTP get like normal links. They even hook the back button so that they make the illusion seem real.
Here's my answer to all this: http://i.imgur.com/togzIsm.gif