Results 1 to 5 of 5

Thread: Ajax pagination

  1. #1
    Join Date
    Jan 2008
    Location
    RJ, Brasil
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax pagination

    1) Script Title: Ajax Pagination Script

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

    3) Describe problem: I need to put the pagination in several lines. How can I do this? I tried in the .js file, but it didn't work.

    Link: http://almanaquedosjogosolimpicos.11.../sel/jo-sl.htm

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

    Default

    Do you mean add line breaks within the pagination links, so some spill over to a 2nd line?

  3. #3
    Join Date
    Jan 2008
    Location
    RJ, Brasil
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    Do you mean add line breaks within the pagination links, so some spill over to a 2nd line?
    Yes, i got a page with 49 links. So u must scroll to access all links and the "next" link. I want to create lines with 20, 25 links.

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

    Default

    Sure, you can get the script to manually insert line breaks after "x" page within the pagination link as follows. Replace the original .js file with the attached, then configure the line near the top:

    Code:
    //3) Line break after x pages:
    var linebreakafter=5

  5. #5
    Join Date
    Jan 2008
    Location
    RJ, Brasil
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much for your help! I'm only need to put a space between lines.. but this i know how to do...

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
  •