Bootstrap分页插件--Bootstrap Paginator
参数说明:
http://my.oschina.net/shunshun/blog/204587
代码示例1:
var options = { currentPage: 3, totalPages: 10, itemTexts: function (type, page, current) { switch (type) { case "first": return "First"; case "prev": return "Previous"; case "next": return "Next"; case "last": return "Last"; case "page": return "p"+page; } } } $('#example').bootstrapPaginator(options);
代码示例2:
//分页功能 var page=$('#page1'); var options = { currentPage:page.attr('pageNum'), totalPages:page.attr('pageCount'), numberOfPages:page.attr('numberOfPages'), pageUrl: function(type, page, current){ return "/admin/movie?"+composeUrlParams()+"&p="+page; } } $('#page1').bootstrapPaginator(options); }) </script>
分页进阶
http://blog.fens.me/nodejs-bootstrap-paginator/
BootstrapPaginator分页插件+ajax实现动态无刷新分页
http://blog.csdn.net/zxw394/article/details/30067827
相关推荐
opspider 2018-10-27
zxcasd 2018-10-27
AnneZhao 2015-11-17
zh000 2015-07-22
twtonrg 2013-11-17
DHCliaozheng 2017-03-12
twtonrg 2017-11-14
niepxiya 2017-08-07
乔乔 2017-06-28
前端分页相当简单,在我添加了2w条测试数据的时候打开的很流畅,没有卡顿。var d = '<button href="#" class="btn btn-default" mce_href="#&qu
相信未来 2017-05-18
DJPLH 2017-02-20
lixia 2016-12-28
程序员哦 2016-12-23
iChangebaobao 2016-12-23
Chinahdy 2016-12-23
相信未来 2016-11-07
iChangebaobao 2019-05-08