I'm in the process of customizing the pagination bar using DataTables
. I've successfully added images for the Previous/Next buttons, but I want to change the appearance of the page numbers.
https://i.sstatic.net/WsLf5.jpg
Here is what I have accomplished so far:
https://i.sstatic.net/HsmTt.jpg
I am attempting to position page numbers 1 and 2 above the pagination bar with accompanying text. I am unsure how to achieve this.
This is my Jquery code:
$(document).ready(function() {
$('#esignTable').DataTable({"pageLength":5, "pagingType":"full_numbers", "sDom": '<"top"flp>rt<"bottom"i><"clear">', "oLanguage": {
"sEmptyTable": " ",
"oPaginate": {
"sNext": '<img src="../images/integration/SlowRight.jpg">',
"sPrevious": '<img src="../images/integration/SlowLeft.jpg">',
"sFirst": '<img src="../images/integration/FastLeft.jpg">',
"sLast": '<img src="../images/integration/FastRight.jpg">',
}
}
});
});