Trium918 Posted August 17, 2013 Share Posted August 17, 2013 phpfreaks has changed since the last time I have been on here. It's been some time, but I have a quick queston for you all. On the home page of phpfreaks I noticed that the navagation loads into the same content div or whatever while the remaining of the site remains static. What is this called and could you all lead me into the right direction? Thanks! Quote Link to comment Share on other sites More sharing options...
kicken Posted August 17, 2013 Share Posted August 17, 2013 If you're talking about all the links on the silver nav bar (Home, Tutorials, Blogs, etc) then there is nothing special going on. They are just normal links loading different pages. Each page has the same base template though so the header and side bar are the same. What you describe though is commonly referred to as AJAX. You use Javascript to make a request for a certain page in the background and then insert the response content into the current page's DOM. There are lots of tutorials on the subject, and the jQuery library has several convinence methods for various use cases, such as .load Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.