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 HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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.