[英]Why is pagination dots not showing?
I am using jquery.pagination.js
plugin. 我正在使用
jquery.pagination.js
插件。
I have 100 pages. 我有100页。 The first and last page are numbers are showing, but the dots are not showing.
第一页和最后一页是数字显示,但没有显示点。 Please check the screen shot and code.
请检查屏幕截图和代码。
$("#Pagination").pagination(num_entries, {
items_per_page : 10,
num_display_entries : 2,
num_edge_entries : 1,
current_page : pageIndex-1,
//link_to : path +"?"+param
callback : paginationCallback
});
function paginationCallback(page_index, jq) {
}
Any default options having for show the dots symbol? 是否有用于显示点符号的默认选项?
HTML code: HTML代码:
<div id="selector">
<ul class="selector">
<li>
<p>One</p>
</li>
<li>
<p>Two</p>
</li>
<li>
<p>Three</p>
</li>
<li>
<p>Four</p>
</li>
<li>
<p>Five</p>
</li>
<li>
<p>Six</p>
</li>
<li>
<p>Seven</p>
</li>
<li>
<p>Eight</p>
</li>
</ul>
</div>
And JS Script: 和JS脚本:
$(function() {
$(selector).pagination({
items: 100,
itemsOnPage: 10,
cssStyle: 'light-theme'
})
});
Here is a WORKING DEMO . 这是一个工作演示 。 I just added style and javascript sources from their github repo.
我刚从他们的github repo中添加了样式和javascript源代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.