# jquery-bootpag **Repository Path**: mirrors/jquery-bootpag ## Basic Information - **Project Name**: jquery-bootpag - **Description**: bootpag 是一个动态的 jQuery 翻页插件,可很好的跟 Bootstrap 和其他 HTML 页面工作 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/bootpag - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-13 - **Last Updated**: 2025-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README bootpag - dynamic pagination ============================ This jQuery plugin helps you create dynamic pagination with [Bootstrap](http://getbootstrap.com/) or in any other html pages. # Example Snippet that dynamic loads number of pages. More examples can be found on [project homepage](http://botmonster.com/jquery-bootpag/) ```html
Dynamic page content
``` ```javascript $('#pagination-here').bootpag({ total: 7, // total pages page: 1, // default page maxVisible: 5, // visible pagination leaps: true // next/prev leaps through maxVisible }).on("page", function(event, num){ $("#content").html("Page " + num); // or some ajax content loading... // ... after content load -> change total to 10 $(this).bootpag({total: 10, maxVisible: 10}); }); ``` # License Plugin available under MIT license (See LICENSE file) Copyright (c) 2013-2015 botmonster.com