Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PDF Pager is a jQuery plugin that allows you to page through multiple PDFs in the Google Docs Viewer. You can attach an event to the page change.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
pdfs
LICENSE.txt
README.md
demo.json
index.html
jquery.pdfpager.js
jquery.pdfpager.min.js
style.css

README.md

README for PDF Pager

PDF Pager is a jQuery plugin that allows you to page through multiple PDFs in the Google Docs Viewer. While the Google Docs Viewer natively allows paging through multi-page PDFs, it does not let you hook into a page change event to do other stuff each time a new page displays.

Usage

$('#my-pdf-pager').pdfPager({
     pages: 3,
     pdfFolder: 'http://www.jasonlcrane.com/demo/pdfpager/pdfs'
});

Requirements

  • The plugin has two required settings: pages (the number of PDFs) and pdfFolder (an absolute path to the PDFs on your server).
  • The plugin depends on the PDFs being named sequentially as 1.pdf, 2.pdf, 3.pdf, etc.

Documentation

The plugin has several other options. Check them out in the full documentation at http://www.jasonlcrane.com/2011/07/jquery-plugin-page-through-multiple-pdfs/.

Something went wrong with that request. Please try again.