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.
$('#my-pdf-pager').pdfPager({ pages: 3, pdfFolder: 'http://www.jasonlcrane.com/demo/pdfpager/pdfs' });
- 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.