This jQuery plugin "twbsPagination()" simplifies the usage of Bootstrap Pagintion.
Plugin requires jQuery (required - 1.7.0 or higher).
You can use Bootstrap CSS styles and markup (or use your own).
More details available here
Add this lines in to your HTML code
Demo
Plugin requires jQuery (required - 1.7.0 or higher).
You can use Bootstrap CSS styles and markup (or use your own).
More details available here
Add this lines in to your HTML code
<div class="well PageContent"></div>Add this script in to your JavaScript section
<ul class="PaginationLinks pagination-sm"></ul>
$('.PaginationLinks').twbsPagination(Final code and demo is here
{
totalPages: 20,
visiblePages: 7,
onPageClick: function (event, PageNo) {
$('.PageContent').text('Page ' + PageNo);
}
});
Demo
No comments:
Post a Comment