/ Published in: JavaScript
This will make links that look like this:
previous 1 2 ... 33 34 35 36 37 38 39 ... 264 265 next
You would just need to change the link in each of the numbers.
variables:
current page
total items in list
how many items per page are being displayed
Example:
var pagination = paginate(4, 2633, 10)
previous 1 2 ... 33 34 35 36 37 38 39 ... 264 265 next
You would just need to change the link in each of the numbers.
variables:
current page
total items in list
how many items per page are being displayed
Example:
var pagination = paginate(4, 2633, 10)
URL: http://dev.kickapps.com/foodnwine/getUserFavorites.php?as=117547&u=22128246&p=1&ps=20