Hi,
I was wondering if it is possible to load only a certain part of a page while browsing a website. I guess the following website is doing what I am trying to say:
http://www.hannahmarie.co.uk/
When you click on the navigation links (locations, treatments, etc.) the header, sidebar and footer stand still and only the content area loads (or not?). This is nice for faster navigating and lower bandwidth usae etc.
How can I do that?
How to load only one part of a website?
Re: How to load only one part of a website?
The page is loading it's just not very noticeable since it's so small in size.
But this is what they're doing,
But this is what they're doing,
<a href="index.php?show=location">Location</a>So when you click that link the index file will show that specific content,
if(isset($_GET['show'])) { //mysql_query to grab content from specified page using WHERE //echo out content }
Re: How to load only one part of a website?
Then you click a link the page does reload still, so this is just a simple template system. I have a tutorial on this which may be of some use.nailyener wrote:http://www.hannahmarie.co.uk/