I am trying to figure out how to load content without refreshing navigation bar like Facebook.
If you look at a Facebook profile (not a timeline), there is a navigation bar in the left column that includes 'wall', 'info', 'photo', 'friend', etc.
For example, when you click on 'wall', the URL becomes How does this work? I am working on a php website whose URL is something like this, =========================================== ==== I took the title (without javascript) I thought Facebook is without JavaScript, but I was wrong. Firstly, I'm pretty sure that Facebook uses JavaScript for that, because this client Side and so can you do whatever you want. Disabling javascript in your browser and then testing it again to test it. The PHP server is side-by-side, and thus if you want to refresh a bit of the page, then the entire page must be sent back to the server as it will decide which part to refresh. What can you do iframe with iframes menu, if an iframe with content, you can only refresh the content iframe. However, I'm not really a fan of frames for various reasons. It would be better to use Jscript :) UPDATE For some years, single page application (web apps that run entirely in the browser, without server But make a full refresh). Popularity has increased greatly. In fact, you use the forward javascript framework such as angular or feedback for your application code, the result will be a non-reloading single page website. www.facebook.com/yourid?sk=wall , and middle column refresh Becomes and loads the content but it happens without refreshing the left navigation bar (also the top menu bar).
www.example.com/profile.php?id=1234 , which is the main bar with the navigation bar Page, and when a user creates a page, the URL becomes
www.example.com/profile.php id = 1234 & amp; Page = 1 . How can I load that
and page = 1 content without refreshing the navigation bar part?
Comments
Post a Comment