BootStrap-based front-end paging with ellipsis and top and bottom page effects, bootstrap ellipsis
Bootstrap front-end pagination comes with results.
First, obtain resources under Baidu
Http://blog.csdn.net/u013025627/article/details/50485327
In fact, in the past 15 years, my senior brother gave me a document that I don't know where to make it. I rely on it as many examples. Now, you only need to find the code snippet and write it yourself.
Okay, so this thing does not have the previous page. So I added and modified the source code. I cannot use bootstrap. Why? Because we have our own styles, so I have to write them myself.
First look at the source code I modified the comments section
This now is the effect of the UI, that is, a green color is displayed.
I will add style types similar to table pagination to the front-end style modification,
In fact, almost all front-end styles are written to death because each li contains a tag.
As a whole, it basically meets the style I need. The rest is to write the ajax method to provide the callback function.
This is generally the case
Click Previous Page:
Click Next page
The above section describes the BootStrap-based front-end paging with ellipsis and the effects of the top and bottom pages. I hope this will help you. If you have any questions, please leave a message, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!