Home arrow JavaScript arrow Hiding the Page Counter with the jQuery Quick Pagination Plug-in
JAVASCRIPT

Hiding the Page Counter with the jQuery Quick Pagination Plug-in


In this second article in a three-part series, I discuss how to use the Quick Pagination jQuery plug-in for paginating a group of sample HTML paragraphs. In this case, the page counter provided by default was hidden from display, which shows how easy it is to customize the plug-in’s behavior by playing around with its incoming arguments.

Author Info:
By: Alejandro Gervasio
Rating: 4 stars4 stars4 stars4 stars4 stars / 3
December 22, 2009
TABLE OF CONTENTS:
  1. · Hiding the Page Counter with the jQuery Quick Pagination Plug-in
  2. · Review: paginating HTML paragraphs with the Quick Pagination plug-in
  3. · Tweaking the plug-in's parameters
  4. · Putting the pieces together

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Hiding the Page Counter with the jQuery Quick Pagination Plug-in
(Page 1 of 4 )

If you’re web designer who’s looking for a lightweight JavaScript package that lets you paginate multiple HTML elements easily, without having to sacrificing the accessibility of your carefully-crafted web pages, then you may want to take an in-depth look at Quick Pagination. It's a small jQuery plug-in that will do the hard pagination process for you in a truly unobtrusive fashion.

Developed and maintained by Mark Perkins, Quick Pagination is a handy JavaScript library capable of splitting different web page elements into chunks of readable data. Additionally, it offers a great level of customization. This valuable feature allows developers to modify both the behavior and appearance of its core pagination mechanism to suit the requirement of different web-based projects.

Of course, if you’ve already had the chance to take a peek at the tutorial that precedes this one, then you're already familiar with the basic concepts that surround the use of Quick Pagination. In that introductory part of the series I showed how to use the plug-in to paginate a set of HTML paragraphs.

The beauty of this process is in its simplicity; the entire pagination procedure required us to download the jQuery library along with the plug-in’s source file, and then to invoke its “quickpaginate()” method with the proper incoming arguments. It was that easy, really.

The plug-in accepts an optional parameter called “showcounter” for displaying a basic page counter in addition to the typical “prev” and “next” links found in many paging systems. Since the example discussed before displayed this counter on screen, in the lines to come I’m going to show you how to hide it from view, thus digging a bit deeper into the customization capabilities offered by Quick Pagination.

Now, it’s time to explore a few more features provided by Quick Pagination. Let’s jump in!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials