I am trying to figure out how to load contents without refreshing navigation bar like facebook does.
If you look into a facebook profile (not timeline), there is a navigation bar in the left column which has 'wall', 'info', 'photos', 'friends', etc..
And for example, when you click 'wall', the url becomes www.facebook.com/yourid?sk=wall
, and the middle column gets refreshed and loads the contents. But this happens without refreshing the left navigation bar (also the top menu bar).
How does this work?
I am working on a php website that has url something like this, www.example.com/profile.php?id=1234
, which is the main page with navigation bar, and when a user creates a page, the url becomes www.example.com/profile.php?id=1234&page=1
. How can I load that &page=1
contents without refreshing the navigation bar part?
======================================
I took the (WITHOUT javascript) off of the title. I thought facebook does that without javascript, but I was wrong.