PDA

View Full Version : Ajax pagination



tonyalegria
01-02-2008, 08:01 PM
1) Script Title: Ajax Pagination Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/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.110mb.com/sel/jo-sl.htm

ddadmin
01-03-2008, 03:05 AM
Do you mean add line breaks within the pagination links, so some spill over to a 2nd line?

tonyalegria
01-03-2008, 12:42 PM
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.

ddadmin
01-03-2008, 11:49 PM
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:


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

tonyalegria
01-04-2008, 04:27 PM
Thank you very much for your help! I'm only need to put a space between lines.. but this i know how to do... ;)