View Full Version : Ajax Pagination Question/Problem

12-29-2007, 12:00 AM
1) Script Title: Ajax Pagination script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm

3) Describe problem: I like what this script can do, but I have a question. Is it possible to have the arrows and page numbers listed in "paginate-bottom" displayed at a fixed point on the page? I would like it if the page numbers and arrows always displayed at the bottom of my page and centered. Can the code be seperated so that this could be made possible by placing the content on the main part of the page and the page numbers at the bottom?


12-29-2007, 12:50 AM
Well, the pagination DIVs aren't tied down to the content DIV itself, so you're free to move them around on the page as desired:

<div id="paginate-top"> </div>

<div id="pcontent"> </div>

<div id="paginate-bottom"> </div>

The code in red would be the pagination DIVs. As far as centering the page numbers, you'll need to experiment with that by modifying ajaxpagination.css, which controls their style.

12-29-2007, 10:37 AM
Thanks! I just wasn't thinking right.... that worked!