Results 1 to 3 of 3

Thread: Ajax Pagination Question/Problem

  1. #1
    Join Date
    Jun 2007
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Pagination Question/Problem

    1) Script Title: Ajax Pagination script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nate/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?

    Thanks

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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:

    Code:
    <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.

  3. #3
    Join Date
    Jun 2007
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks! I just wasn't thinking right.... that worked!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •