How to control paging in ci to display only 5 page numbers, and use ellipsis when there are too many page numbers

WBOY
Release: 2016-09-26 08:40:17
Original
1742 people have browsed it

How to control paging in ci to display only 5 page numbers, and use ellipsis when there are too many page numbers

The default seems to have no ellipsis, but hidden
And the returned $page is a string type variable, which the front-end has no way to control. I want to pass the parameters in the background, and then the front-end paging plug-in will process it.

http://www.cnblogs.com/leanhu...

If the background directly returns to paging, the front end will not be able to control the ellipses. If paging is returned in the background, how to set some pages to ellipses.

Reply content:

How to control paging in ci to display only 5 page numbers, and use ellipsis when there are too many page numbers

The default seems to have no ellipsis, but hidden
And the returned $page is a string type variable, which the front-end has no way to control. I want to pass the parameters in the background, and then the front-end paging plug-in will process it.

http://www.cnblogs.com/leanhu...

If the background directly returns to paging, the front end will not be able to control the ellipses. If paging is returned in the background, how to set some pages to ellipses.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!