josecebe / twbs-pagination

jQuery pagination plugin (bootstrap powered)
http://josecebe.github.io/twbs-pagination/
Other
1.1k stars 401 forks source link

Complex pagination (top fixed + bottom ...) #138

Closed degenaro closed 7 years ago

degenaro commented 7 years ago

It would be desirable to have the both the pagination selector (page 1, 2, 3...next/prev) and the horizontal scroll bar fixed in a header so that they remain at the top of the page while vertical scrolling. Already possible/configurable?

eugenesimakin commented 7 years ago

Hi! Look at syncronized pagination in docs (http://esimakin.github.io/twbs-pagination/) You could hold on the top one of pagination elements with position: fixed; for e.g.

degenaro commented 7 years ago

Thx for your reply. Not sure how this works, but Ill take a look. Seems to apply only to the page selector, though.

What about the page content horizontal scroll bar? When the data is wider than the screen, a horizontal scroll appears at the bottom of the page. How does one make the horizontal scroll bar stay fixed at the top of the page?

On Tue, Oct 4, 2016 at 4:54 PM, Eugene notifications@github.com wrote:

Hi! Look at syncronized pagination in docs (http://esimakin.github.io/ twbs-pagination/) You could hold on the top one of pagination elements with position: fixed; for e.g.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esimakin/twbs-pagination/issues/138#issuecomment-251510375, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfvXTFAoCRbwWI0rV1vnKhkuiD1NzfEks5qwrzygaJpZM4KN1V8 .

eugenesimakin commented 7 years ago

I'm pretty sure you can't move native browser scrollbar to the opposite side from js... But you can hide it and use something like this or this for customization