possible to avoid whole page refresh?
is there an acceptable way in php to not have to re-draw a header - logo and company name, and navigation buttons everytime a user goes to a different page?
i presume it can be done, by having only one php file, and all the text and scripts for all the pages in that one file, so when a link for a differnt page is clicked it doesnt actually re-draw the header and nav menu, only the text underneath them
i just want some advice on if there is a good way to do this, or if the whole page being re-freshed and 'flickering' is just 'how it is'?
many thanks
demonhale posted this at 11:33 — 31st March 2007.
He has: 3,278 posts
Joined: May 2005
That would be AJAX, it uses http request to show data on a fixed page. Some examples of how content is generated via AJAX is found on dynamic drive. Lots of tutorials on this one by searching for AJAX on google...
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.