Can someone help me with one of the pagination effect using javascript? -
http://jsfiddle.net
/mbh9w/2/
- i want show 3 consecutive numbers in row.(ex:1 2 3)
- click "next" button, , shows 4 5 6, 7 8
- click "prev" button, , shows 4 5 6, 1 2 3
can me code in javascript?
thanks lot!!!
you can use bootstrap paginator plugin purpose. can configured fit needs.
snippet:
<div id="example"></div> <script type='text/javascript'> var options = { currentpage: 3, totalpages: 10 } $('#example').bootstrappaginator(options); </script>
Comments
Post a Comment