This topic contains 2 replies, has 2 voices, and was last updated by  Duo_Liang 1 week, 6 days ago.

  • Author
    Posts
  • Participant
    OliverH
    Member since: 11.10.2018
    Number of posts: 7

    Hi team,

    We are using iFrame to integrate esignlive in our portal, we are unsure how to make the display of documents responsive. Normally, we would set the iFrame at a fixed rate, and this would then cause the user to have to scroll horizontally to read a document.

    Any ideas on how we can solve this (i.e. avoid horizontal scrolling)?

    Thank you,

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 531

    Score

    0

    Hi there,

    Here is a sample code for this scenario.

    The threshold width when the horizon scroll bar shows up is around 940px, so you can consider 940px width as a breakpoint and when the screen is narrower than that (for example in a tablet), you can use this code to shrink contents in iFrame down.

    Hope this could help!
    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist
    Attachments:
    You must be logged in to view attached files.
    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 531

    Score

    0

    And these two pictures will show you the idea better.

    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist
    Attachments:
    You must be logged in to view attached files.

You must be logged in to reply to this topic.