Scrolling Pagination Class
					
						
						Scrolling Pagination Class is a class written in PHP 5.x used to create a pagination of results from different sources (such as MySQL query results). 
						The key features:
							
						- support for multiple languages,
 - easy to modify text label on the button pages,
 - display rows range on the button pages (tooltip),
 - ability to scroll through pages,
 - very easy to configure,
 - 7 style examples (CSS3) with gradients, rounded corners etc.
 
require_once('../class/Pagination.php'); 
$Pagination=new Pagination(1,1200);					// page number, total results
$Pagination->setParameters(array('id'=>'default1'));
$Pagination->create();
						
						and the effects is:Parameter scroll:
						
						
						
						$Pagination->setParameters(array ( 'id' => 'default2', 'scroll' => false )); $Pagination->create();and the effects is:
If you want to use scroll page effects you need to include two libraries: jquery.js and Pagination.js.
Parameters numberOfPagesLeftSide and numberOfPagesRightSide:
						
						$Pagination->setParameters(array ( 'id' => 'default3', 'numberOfPagesLeftSide' => 1, 'numberOfPagesRightSide' => 2 )); $Pagination->create();and the effects is:
Parameters displayGoToPage, displayFirstPage, displayPreviousPage, displayNextPage, displayLastPage:
						
						$Pagination->setParameters(array ( 'id' => 'default4', 'displayGoToPage' => true, 'displayFirstPage' => false, 'displayPreviousPage' => true, 'displayNextPage' => true, 'displayLastPage' => false )); $Pagination->create();and the effects is:
Parameter displayIfOnePage:
						
						$Pagination=new Pagination(1,1); $Pagination->setParameters(array ( 'id' => 'default5', 'displayIfOnePage' => true )); $Pagination->create();and the effects is:
Parameters link and pageName:
						
						$Pagination->setParameters(array ( 'id' => 'default6', 'link' => 'http://scrollingpaginationclass.quanticalabs.com/_demo/?a=b&c=d', 'pageName' => 'pageNumber' )); $Pagination->create();and the effects is:
Parameter ajax:
						
						$Pagination->setParameters(array ( 'id' => 'default7', 'ajax' => true )); $Pagination->create();and the effects is: