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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -