josecebe / twbs-pagination

jQuery pagination plugin (bootstrap powered)
http://josecebe.github.io/twbs-pagination/
Other
1.1k stars 401 forks source link

How to install #117

Closed ofuochi closed 8 years ago

ofuochi commented 8 years ago

Am new to web programming. There seem not to be any documentation on how to install the plugin. Please how do I install it? which of the files should I include in my html header?

eugenesimakin commented 8 years ago

Hi! You can checkout the gh-pages branch and see in code (for e.g. index.html)

ofuochi commented 8 years ago

Thank you, it worked. I included these in my header

<script  type="text/javascript" src="assets/js/custom_js/Gruntfile.js"></script>
<script  type="text/javascript" src="assets/js/custom_js/jquery.twbsPagination.js"></script>
<script  type="text/javascript" src="assets/js/custom_js/jquery.twbsPagination.min.js"></script>
vatnoise commented 8 years ago

@ofuochi You only need to include either jquery.twbsPagination.js or jquery.twbsPagination.min.js

The "normal" version is usually good only while you're developing the website (easier to debug problems) while the "min" version is great performance wise and that one is usually used on live websites.

ofuochi commented 8 years ago

@vatnoise Thanks for the insight, now I understand better.