| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
10年前发布

简化了 Bootstrap 分页功能:jQuery Pagination plugin

jQuery Pagination Plugin for Bootstrap 这个 jQuery 插件简化了 Bootstrap 分页功能的使用。它使用适当的类:.pagination, .active.disabled。

选项和事件

    选项​​的说明和缺省值:
  • totalPages the number of pages (required, checked)
  • startPage the current page that show on start(default: 1)
  • visiblePages maximum visible pages (default: 5)
  • href template for pagination links (default javascript:void(0);)
  • hrefVariable variable name in href template for page number (default {{number}})
  • first text label (default: 'First')
  • prev text label (default: 'Previous')
  • next text label (default: 'Next')
  • last text label (default: 'Last')
  • paginationClass the root style for pagination component (default: 'pagination'). You can use this option to apply your own style
    可用的事件:
  • onPageClick callback function
      Function parameters
    • event object
    • page the number of page

简化了 Bootstrap 分页功能:twbs-pagination


项目主页:http://www.open-open.com/lib/view/home/1390813129507

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1390813129507.html
jQuery分页插件 jQuery插件 twbs-pagination