Title: Multiple pdfs
Last modified: August 30, 2016

---

# Multiple pdfs

 *  Resolved [diogobento](https://wordpress.org/support/users/diogobento/)
 * (@diogobento)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/multiple-pdfs/)
 * Dear Dan,
 * Thanks for the simple and elegant plugin.
 * I’m designing a wordpress website based on the Foundation Framework. When displaying
   multiple pdfs in a single page, using the Tabs component ([http://foundation.zurb.com/docs/components/tabs.html](http://foundation.zurb.com/docs/components/tabs.html)),
   the first pdf renders correctly, although second, third and following pdfs do
   not render with the correct width (but after a click on next page button, the
   pdf renders to the correct width).
 * The plugin settings are set to max width and height.
 * Could you please help solving this problem?
 * Thanks in advance.
 * [https://wordpress.org/plugins/pdf-embedder/](https://wordpress.org/plugins/pdf-embedder/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/multiple-pdfs/#post-6375052)
 * Thank you for your kind words.
 * We are generally better able to offer support by email: [contact@wp-pdf.com](https://wordpress.org/support/topic/multiple-pdfs/contact@wp-pdf.com?output_format=md)
 * Unfortunately, a lot of ‘tab’ systems don’t interact well with the plugin. You
   would really need your Javascript developer to find a way to ‘reinvoke’ the plugin’s
   Javascript code whenever a new tab is activated. The problem is that when the
   plugin is first invoked, the hidden PDFs all assume they should be small since
   their ‘parent container’ is hidden.
 * Or you might be able to try using fixed width parameters instead.
 * I hope this helps!
 * Regards,
 * Dan
 *  Thread Starter [diogobento](https://wordpress.org/support/users/diogobento/)
 * (@diogobento)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/multiple-pdfs/#post-6375095)
 * Hi Dan,
 * Thanks so much for your reply.
    Any hints on how to reinit the plugin after a
   tab change? Is there any method to reinit the plugin from within?
 * As a temporary fix, I’ve set max-width to the pdfemb-viewer container.
 * Regards,
    Diogo.
 *  Thread Starter [diogobento](https://wordpress.org/support/users/diogobento/)
 * (@diogobento)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/multiple-pdfs/#post-6375139)
 * If anyone else facing the same problem, this worked for me:
 *     ```
       $(".tabs").on("toggled", function (event, tab) {
          $(".pdfemb-viewer").pdfEmbedder();
       });
       ```
   
 * Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multiple pdfs’ is closed to new replies.

 * ![](https://ps.w.org/pdf-embedder/assets/icon.svg?rev=3227003)
 * [PDF Embedder](https://wordpress.org/plugins/pdf-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-embedder/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [diogobento](https://wordpress.org/support/users/diogobento/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/multiple-pdfs/#post-6375139)
 * Status: resolved