From 74754e67c6b0672cadc990353aaf2ebc99400313 Mon Sep 17 00:00:00 2001 From: Douglas Denhartog Date: Sat, 25 Jan 2014 13:37:48 -0800 Subject: [PATCH] commit to move to iMac --- README.md | 5 ++- paginate.html | 4 +- simplePagination-plugin.js | 78 ++++++++++++++++++++++++++++---------- 3 files changed, 63 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 9339bd8..3ded19b 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ Future development: ###Add: - [ ] Select specific page (dropdown) - [ ] Updates values of BOTH '.simplePagination-update-items-per-page' when using dual navigation -- [ ] Make it so only one of First/Previous if on 2nd page (I vote 'First') -- [ ] Make it so only one of Next/Last appear if on 2nd-to-last page (I vote 'Last') +- [x] Make it so only one of First/Previous if on 2nd page (I vote 'First') +- [x] Make it so only one of Next/Last appear if on 2nd-to-last page (I vote 'Last') +- [x] Custom text for First, Previous, Next and Last links - [ ] Limit display of individual page links if page_count exceeds a specific limit (e.g. 1 2 3 4 **5** 6 7 8 9 10; becomes: 3 4 **5** 6 7) diff --git a/paginate.html b/paginate.html index 7ea9c60..0f84143 100644 --- a/paginate.html +++ b/paginate.html @@ -385,7 +385,9 @@

Click on 'Last' and see item count maxes out at item count :)