I am using jquery.pagination.js
plugin.
I have 100 pages. 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:
<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:
$(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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With