FastPagination class, the smart Pagination class - BSD License

Capitan Cloud 402026d93a Update README.md 1 年之前
LICENSE 58473505af Create LICENSE 4 年之前
README.md 402026d93a Update README.md 1 年之前
class.fastpagination.inc 78014e3428 Add files via upload 4 年之前

README.md

FastPagination

FastPagination class

@package OpenGallery http://github.com/par7133
@author Daniele Bonini posta@elettronica.lol
@version 1.0
@phpver 5.6 to 7.3
@access public
@note The class rendering the output controls is making use of Bootstrap.
Furthermore, FastPagination is making use of the class FastErr part of OpenGallery
and developed by me http://github/par7133

Given a div container 'pagination-row', a $cssClass 'pagination' and a $cssClassActivePage named 'active'
an example of css customization could be the following:

.pagination-row {
display: table;
content: ' ';
width:100%;
padding-right: 12%;
}
.pagination {

float:right;    

}
.pagination > .active > a {

background: #3366CC;    
font-weight: 400;    

}
.pagination > .active > a:focus {

background: #0D62AA;    
color: white;    

}
.pagination > .active > a:hover {
background: #0D62AA;
cursor: pointer;
color: white;
}
.pagination > li > a {
color: #677a85;
font-size: 17px;
}
.pagination > li > a:hover {
color: #677a85;
}
.pagination > li > a:focus {
color: #677a85;
}