Jump to content

Help!


Trium918

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.