I am looking for an alternative of iframe to load xhtml pages in a website. Handling back and refresh events in iframe is not so easy.
The best way I found was loading the page in a div when user clicks an item from side menu. But it refreshes entire page(including menu). In Facebook and Google+, the Menu bar is not refreshing when user clicks any link in div. Instead the contents in divs and url changes. Inspecting their Javascript is not so simple. I would like to get the idea behind this. Expecting suggestions.