• Resolved timonw

    (@timonw)


    I have PDFs with a different amount of pages and therefore with a different height. I don’t want the user to scroll inside the frame but to set the iframe dynamically to the height of the content. Fetching the contentheight with contentWindow.document.body.scrollHeight didn’t work. I think I have to get the height of the div with the id=”viewer” and give it to the parent page. Is there a possibility to add code to the iframed page?

Viewing 1 replies (of 1 total)
  • Hi, @timonw.
    I hope you’re doing fine.

    Currently, there’s no way to add code to the iframed page. I’ll share your request with our dev team as a feature request. Is there something else I can help you with?

    Thanks, and have a good one ??

Viewing 1 replies (of 1 total)
  • The topic ‘dynamic height of the iframe’ is closed to new replies.