• Resolved diogobento

    (@diogobento)


    Hello Dan,

    I’ve been trying to hide the toolbar but I can’t manipulated the proper div with javascript. I can hide the viewer container, for example, but the same javascript doesn’t work with the toolbar. Any known reason why this is happening?

    I’m trying to add a “hidden” class, but it doesn’t apply…

    I want to hide the word “Page” and the Zoom div altogether but have failed so far.

    Thanks for the support,
    Diogo.

    https://www.ads-software.com/plugins/pdf-embedder/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would suggest using CSS not Javascript to hide these things where possible – it will be difficult to know when your Javascript functions should be called.

    This CSS might hide the Zoom div:

    div.pdfemb-toolbar div:nth-child(2) {
    display: none !important;
    }

    Removing the word “Page” might be a bit harder using CSS…

    Good luck – I’m sure you appreciate I can only really make suggestions here, but can’t fully support modified versions of the plugin.

    By the way, I am also better able to respond to emails! [email protected]

    Regards,

    Dan

    Thread Starter diogobento

    (@diogobento)

    Thank you very much for your comments Dan.

    I used CSS whenever possible, but had to edit the plugin to remove the word “Page” and some other stuff.

    Best regards,
    Diogo.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide the toolbar’ is closed to new replies.