JavaScript
  Home arrow JavaScript arrow Hiding the Page Counter with the jQuery Qu...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Hiding the Page Counter with the jQuery Quick Pagination Plug-in
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 2
    2009-12-22

    Table of Contents:
  • Hiding the Page Counter with the jQuery Quick Pagination Plug-in
  • Review: paginating HTML paragraphs with the Quick Pagination plug-in
  • Tweaking the plug-in's parameters
  • Putting the pieces together

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


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


    (Page 1 of 4 )

    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.

    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!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This second article of the series explains how to use the Quick Pagination jQuery...
     

    JAVASCRIPT ARTICLES

    - Using jQuery to Preload Images with CSS and ...
    - Using Client-Side Scripting to Preload Image...
    - Removing Non-Semantic Markup when Preloading...
    - Using the Display CSS Property to Preload Im...
    - Preloading Images with CSS and JavaScript
    - Scaling and Moving Web Page Elements with th...
    - Fading, Hiding and Sliding HTML Elements wit...
    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 8 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek