Aha, I think I just understood the problem :P
When you click "pagination" the pagination page opens correctly, but when you click a link in the pagination page it reloads the entire page? I thought it was the first step that didn't work.
Try adding some jQuery to the pagination page, that makes all the links open in a div. Something like
Code:
$(document).ready(function(){
$(".link").click(){
$("#your_div").load($(this).attr("href"));
return false;
};
});
And add the class "link" to all your links in pagination.php, as in
PHP Code:
echo '<a href="some_page.php" class="link">Some link</a>';
I'm not really that good with jQuery, but I think this will make all the links on the page load the address given by the links' href attribute, into your div with the id "your_div".
__________________
596f75206d65616e20796f752063616e2061637475616c6c79 207265616420746869733f
|