Can someone help me with one of the pagination effect using javascript? -


http://jsfiddle.net/mbh9w/2/

  1. i want show 3 consecutive numbers in row.(ex:1 2 3)
  2. click "next" button, , shows 4 5 6, 7 8
  3. 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

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -