Why are dotted dots not displayed?

I am using jquery.pagination.js plugin.

I have 100 pages. Numbers are displayed on the first and last page, but dots are not displayed. Please check the screenshot 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) { } 

enter image description hereenter image description here

Any default options for displaying a dot character?

+5
source share
1 answer

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 my github refin.

+1
source

Source: https://habr.com/ru/post/1201893/


All Articles