Results 1 to 3 of 3

Thread: Ajax Pagination Problem

  1. #1
    Join Date
    Mar 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Pagination Problem

    1) Script Title: Ajax Pagination

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici.../ajaxpaginate/

    3) Describe problem:

    Hi...just a newbie to php / ajax and this forum.. loaded and modified your Ajax Pagination script but have two questions/ problems:

    1 ) can't get direct link to work: just get java script error at bottom of page.(tray)

    2) how can I get rid of current select display options, I want to run it just by direct links.

    test page set up at:
    http://free2cu.com/canada/ajax/demo.php

    thanks in advance for any help... Rob

  2. #2
    Join Date
    Aug 2004
    Posts
    9,910
    Thanks
    3
    Thanked 969 Times in 957 Posts
    Blog Entries
    15

    Default

    By direct links, do you mean you want users to be able to select a particular page to see with arbitrary links you define yourself, instead of the pagination links auto generated by the script? You can hide the later by doing so in the .css file of the script:

    Code:
    .pagination{
    padding: 2px;
    margin: 1em 0;
    clear: both;
    display: none;
    }
    With regards to arbitrary links, this is discussed on the script page, via something like:

    Code:
    <a href="javascript:scriptinstance.selectpage(2)">Go to 3rd page</a>

  3. #3
    Join Date
    Mar 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey ddadmin.. thanks for the input.. found the problem.. great forum service..chow rob

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
  •