The thing that I want to know is how to create a frame around the site that stays constant and at the same time and change the url in the address bar depending on the actual page being shown. It needs to be able to have an audio element that plays nonstop even if you go to another page on the server.
Pitchfork Website, the player can be seen in the upper righthand corner.
Swapping out content and then updating the URL sounds like a pattern that Mark Pilgrim goes over in http://diveintohtml5.info/history.html
With a little AJAX you can update your content,
history.pushState()allows you to change the URL, and then add an event listener to listen to thepopstateevent (when the user navigates backwards).This doesn’t really give much guidance as to how you should structure your page or AJAX calls but hopefully it gives you an idea of the general concept.