pink-sheep
09-23-2007, 12:10 AM
1) Script Title:
Ajax Pagination Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm
I'm trying to place the "next" button near the "previous" button, before the numeral pagination links, instead of its current location to the right. But unfortunately and surprisingly for me, moving the javascript line that writes HTML output for the "next" button immediately after the "previous", doesn't work. I mean, it works fine, the button gets placed correctly, it just doesn't work any more :(
I am moving this line
paginateHTML+='<li><a href="#next" rel="'+(selectedpage+1)+'">next »</a></li>\n'
immediately after this one
paginateHTML+='<li><a href="#previous" rel="'+(selectedpage-1)+'">«</a></li>\n'
Uhm.. help?:confused:
Ajax Pagination Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm
I'm trying to place the "next" button near the "previous" button, before the numeral pagination links, instead of its current location to the right. But unfortunately and surprisingly for me, moving the javascript line that writes HTML output for the "next" button immediately after the "previous", doesn't work. I mean, it works fine, the button gets placed correctly, it just doesn't work any more :(
I am moving this line
paginateHTML+='<li><a href="#next" rel="'+(selectedpage+1)+'">next »</a></li>\n'
immediately after this one
paginateHTML+='<li><a href="#previous" rel="'+(selectedpage-1)+'">«</a></li>\n'
Uhm.. help?:confused: