OliverH

Responsive iFrame html

0 votes
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,

Reply to: Responsive iFrame html

0 votes
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 Evangelism and Partner Integrations Developer


Attachments

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off