Lightweight javascript pagination tool. Divides a nodelist of HTML items into sereral differents pages of n items through which you can navigate. Choose how many pages button you want to display.
- Jump forward /backward buttons.
- Next /Previous buttons.
- Clicking on a page displays its content.
Load NavUI.js Instanciate NavUI class with 4 arguments :
- The CSS selector of the items list HTML container (has to exist, create and populate it before)
- The CSS selector of the nav ui container (has to exist, create it before)
- The number of items you want per page
- The number of pages button you want to display within the nav ui