FooTable v3 specific...
Assuming the table definition is as..
<table id="myTable" class="footable" data-paging="true" data-paging-size="5" data-paging-limit="10">
and JavaScript (remember to include reference to FooTable JavaScript libraries)...
$(document).ready(function () {
$(".footable").footable();
});
.. this will limit the pagination to show only 10 page links.
When using FooTable v3 the visibility (and limit of visibility) of pagination links is controlled via CSS. If electing to NOT use the CSS provided by FooTable, be sure to evaluate the following CSS rules for visibility of the page links...
li.footable-page {
display: none;
}
li.footable-page.visible {
display: inline;
}
The policy is to hide all numbered pagination links, then only show those marked with a CSS class 'visible'. The JavaScript will add the CSS classes to the <li>
items as necessary.