Render full page content without header and footer in Page List block?

Permalink
Hey,

So I have a site where all the pages need to be loaded for a 'fluid' navigation. I have done this before by using a page list and doing something along the lines of:

<ul>
    <?php  foreach ($pages as $page): ?>
        <li><?php $a = new Area('Main'); $a->display($page); ?></li>
    </php endforeach; ?>
</ul>


This tends to work fine, provided that the pages I'm loading don't have a specific template surrounding them. What I would like to know, is if there is a way to render the template and content of each page as you iterate through, without loading up the header and footer of the page each time.

Currently I am going to go with an ajax loading solution, which will just use a $_GET['ajax'] call to determine if the header and footer loads, but I would like to compare the load times of loading up the individual pages with a loader icon, to having the site completely loaded from the get go.

Thanks for your time,

Dan