jquery.bootpag分頁控制項

來源:互聯網
上載者:User

標籤:use   jquery   ref   檔案   分頁控制項   master   func   trap   disable   

  1. <script src="//code.jquery.com/jquery-2.1.3.min.js"></script>
  2. <script src="//netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
  3. <script src="//raw.github.com/botmonster/jquery-bootpag/master/lib/jquery.bootpag.min.js"></script>
  4. <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
  5. 或者在這個http://www.bootcdn.cn裡面尋找cdn,很快的。

必須配合bootstrap哦。

 1 $(‘#pagination-BackTestSectionTrading‘).bootpag({ 2     total: 100, 3     page: 1, 4     maxVisible: 5, 5     leaps: true, 6     firstLastUse: true, 7     first: ‘首頁‘, 8     last: ‘尾頁‘, 9     wrapClass: ‘pagination‘,10     activeClass: ‘active‘,11     disabledClass: ‘disabled‘,12     nextClass: ‘next‘,13     prevClass: ‘prev‘,14     lastClass: ‘last‘,15     firstClass: ‘first‘16 }).on(‘page‘, function (event, num) {17     console.log(num);18 });

這裡附上我使用的版本檔案,另外還有一個不是基於bootstrap的分頁外掛程式。

我使用的版本:密碼:68pv

獨立分頁外掛程式 密碼:nyc3

jquery.bootpag分頁控制項

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.