diff --git a/index.php b/index.php index 37bfc37..0e396bb 100644 --- a/index.php +++ b/index.php @@ -104,6 +104,26 @@ return false; }); }); + +isPaginated ()) { + $prevLink = $currentPage->getPrevLink (); + $nextLink = $currentPage->getNextLink (); +?> + $(document).keydown(function(e){ +hrefXhtml () . "');}"; + } + if (!is_null ($nextLink)) { + echo "if (e.keyCode == 39) {\$(location).attr('href','" . $nextLink->hrefXhtml () . "');}"; + } + +?> + }); +
@@ -220,8 +240,6 @@ isPaginated ()) { - $prevLink = $currentPage->getPrevLink (); - $nextLink = $currentPage->getNextLink (); ?>