All Projects → alfrcr → paginathing

alfrcr / paginathing

Licence: MIT license
a jQuery plugin to paginate your DOM easily.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to paginathing

scrivener list
A Scrivener compatible extension that allows pagination of a list of elements.
Stars: ✭ 23 (+0%)
Mutual labels:  pagination, paginate
vue-tiny-pagination
A Vue component for create a tiny pagination with Flexbox
Stars: ✭ 20 (-13.04%)
Mutual labels:  pagination, paginate
decoy
jQuery plugin to make decoys for your elements.
Stars: ✭ 53 (+130.43%)
Mutual labels:  jquery-plugin, dom
PagedLists
Paginated UITableView and UICollectionViews for iOS.
Stars: ✭ 69 (+200%)
Mutual labels:  pagination, paginate
Bpage
Based on bootstrap style, static page jump can also be asynchronous page processing pagination plugin
Stars: ✭ 96 (+317.39%)
Mutual labels:  pagination, jquery-plugin
Selectpage
A simple style and powerful selector, including ajax remote data, autocomplete, pagination, tags, i18n and keyboard navigation features
Stars: ✭ 679 (+2852.17%)
Mutual labels:  pagination, jquery-plugin
dom-navigator
⚓️ JS library that allow keyboard navigation through DOM elements (←↑→↓).
Stars: ✭ 36 (+56.52%)
Mutual labels:  jquery-plugin, dom
Paginationjs
A jQuery plugin to provide simple yet fully customisable pagination.
Stars: ✭ 726 (+3056.52%)
Mutual labels:  pagination, jquery-plugin
React Paginate
A ReactJS component that creates a pagination
Stars: ✭ 2,169 (+9330.43%)
Mutual labels:  pagination, paginate
mongoose-aggregate-paginate-v2
A cursor based custom aggregate pagination library for Mongoose with customizable labels.
Stars: ✭ 103 (+347.83%)
Mutual labels:  pagination, paginate
jQuery-Facebook-Stream
Display all your wall post, comments & likes in groups or fans page.
Stars: ✭ 24 (+4.35%)
Mutual labels:  jquery-plugin
fixedThead
A jQuery plug-in for fixed table header
Stars: ✭ 21 (-8.7%)
Mutual labels:  jquery-plugin
QueryMovies
This repository shows a Android project with Clean Architecture, Functional Reactive Programming and MVP+Dagger
Stars: ✭ 16 (-30.43%)
Mutual labels:  pagination
jquery.geocomplete
A simple plugin for Google Maps Autocomplete.
Stars: ✭ 15 (-34.78%)
Mutual labels:  jquery-plugin
Facebook-Album-Browser
jQuery plugin for browsing public albums of a Facebook account
Stars: ✭ 76 (+230.43%)
Mutual labels:  jquery-plugin
hsx
Static HTML sites with JSX and webpack (no React).
Stars: ✭ 15 (-34.78%)
Mutual labels:  dom
spring-boot-jpa-rest-demo-filter-paging-sorting
Spring Boot Data JPA with Filter, Pagination and Sorting
Stars: ✭ 70 (+204.35%)
Mutual labels:  pagination
RxPagination
Implement pagination in just few lines with RxPagination
Stars: ✭ 20 (-13.04%)
Mutual labels:  pagination
jquery-custom-select
Custom Select jQuery Plugin
Stars: ✭ 27 (+17.39%)
Mutual labels:  jquery-plugin
CDom
Simple HTML/XML/BBCode DOM component for PHP.
Stars: ✭ 26 (+13.04%)
Mutual labels:  dom

Paginathing

Paginate Everything (support BootstrapCSS)

a dead-simple jQuery plugin for paginate your html elements. DEMO

How the plugin's work? Originally paginathing.js hide all your selector's children dom. Then shows the dom based on active pages by using jQuery .show()

Requirements

  • jQuery

Usage

Your html markup (example)

<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title">List of item.</h3>
	</div>
	<ul class="list-group">
		<li class="list-group-item"> Your Item 1</li>
		<li class="list-group-item"> Your Item 2</li>
		<li class="list-group-item"> Your Item 3</li>
		<li class="list-group-item"> Your Item 4</li>
		<li class="list-group-item"> Your Item 5</li>
		<li class="list-group-item"> Your Item 6</li>
	</ul>
</div>
</div>

Include jQuery & paginathing first

<!-- jQuery first -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- paginathing.js -->
<script type="text/javascript" src="paginathing.js"></script>

Initialize

<!-- Your script -->
<script type="text/javascript">
	jQuery(document).ready(function($){
		$('.list-group').paginathing({
	    		perPage: 2,
	    		containerClass: 'panel-footer'
		})
	});
</script>

Available Options

  perPage: 10, // show item per page
  limitPagination: false, // false or number. Limiting your pagination number.
  prevNext: true, // enable previous and next button
  firstLast: true, // enable first and last button
  prevText: '&laquo;', // Previous button text
  nextText: '&raquo;', // Next button text
  firstText: 'First', // "First button" text
  lastText: 'Last', // "Last button" text
  containerClass: 'pagination-container', // extend default container class
  ulClass: 'pagination', // extend default ul class
  liClass: 'page', // extend li class
  activeClass: 'active', // active link class
  disabledClass: 'disable' // disabled link class,
  insertAfter: null //class or id (eg: .element or #element). append the paginator after certain element
  pageNumbers: false // showing current page number of total pages number, to work properly limitPagination must be true 

License

paginathing.js is licensed under MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].