nekman / keynavigator

Keynavigation plugin for jQuery/Zepto.
http://nekman.github.io/keynavigator/
0 stars 1 forks source link

Jumping between multiple containers #8

Open zaalbarxx opened 9 years ago

zaalbarxx commented 9 years ago

Hi! Could you please tell me if there is any natural way to jump between elements in multiple containers ? I have a simple table and Bootstrap pagination here and I am curious if there is a way to make it work so when last table element is reached and I press 'next' button it will jump to pagination container and vice versa ? I've been fighting with it for a couple of hours and did not really achieve nothing interesting there. So is there some non-obtrusive way to make it happen or I would need to fork this and modify ? Thanks

nekman commented 9 years ago

I can take a look if you send a link (plnkr.co / jsfiddle.net / codepen.io) with your example code.

zaalbarxx commented 9 years ago

http://plnkr.co/edit/VOrr17sQwG3iNg7Gkd1C

As you see I have simple table with some data and BS navigation with two li marked as .navigable (previous and next page), but the pointer does not jump on the navigation buttons when reaching last table element. Hopefully it does make sense :)