Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top and Bottom Pagination in sync #18

Open
saumil122 opened this issue Sep 9, 2016 · 2 comments
Open

Top and Bottom Pagination in sync #18

saumil122 opened this issue Sep 9, 2016 · 2 comments

Comments

@saumil122
Copy link

saumil122 commented Sep 9, 2016

Hello
Is it possible two pagination (TOP-BOTTOM) on a single page work in Sync?

Actually, I want to add two pagination for same content. One is on the top of list and the other one is at the bottom of list. Is it possible? And obviously, both should run in Synchronization. If user clicks on top pagination on any page, same page should be selected in bottom pagination also.

@edmundo096
Copy link

edmundo096 commented Mar 2, 2018

I made a kind of simple change to support this when our init jQuery container reference to multiple elements #52

So you can have

<div class="pagination-container"></div>
<div class="pagination-container"></div>

and then

$('.pagination-container').pagination({...});

to work in sync.

On a simple test, they behave as expected, still it's not completely tested.

There is another PR #45 which tries to solve this same issue but seems the changes are broader.

@ramon-plusb
Copy link

Yeah this works but clicking on the page number results in a redirect to my startpage. Any workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants