Viewing 3 replies - 1 through 3 (of 3 total)
  • Thank you for your kind words.

    We are generally better able to offer support by email: [email protected]

    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

    (@diogobento)

    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

    (@diogobento)

    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.