Widgets > wijpager > Change Paging Modes > nextPreviousFirstLast Paging |
The nextPreviousFirstLast paging mode is a set of pagination controls consisting of Next, Previous, First, and Last buttons. In this topic, we will create a wijpager element that uses text for the paging buttons.
<body>
tags of the page.
<div id="pagerNextPreviousFirstLast">
</div>
<script id="scriptInit" type="text/javascript">
$(document).ready(function () {
$("#pagerNextPreviousFirstLast").wijpager({ pageCount: 150, pageIndex: 40, mode: "nextPreviousFirstLast",
firstPageClass: "", previousPageClass: "", nextPageClass: "", lastPageClass: ""
});
});
</script>