hey everyone,
I use delayed output and a basic ajax structure, see below. My page has four containers: content, shows, header & footer. Any show that is clicked is now being loaded in the content area. Works great!
Now I would like to have certain links to load in the show container, instead of the content container. Could anyone give me a hint how i could achieve that? I think i need two different ajax calls..?
I need this to implement a sort function for the shows. I want to use $pages->get("/shows/")->children('sort=$sortvar');
thank you for your time!
fira
<?php
$cajax = $config->ajax;
if(!$cajax):
include("_head.inc");
?>
<!-- content -->
<div id="content">
<?php
endif; // end if ajax
?>
<?=$content?>
<?php
if(!$cajax):
?>
</div> <!-- //content -->
<div id="shows">
<a href="sortshows=location">sort by location</a>
<a href="">show link</a>
</div><!-- end shows -->
<div id="footer">
</div>
<?php endif; // end if ajax ?>