IFrame HTML

IFrame HTML

If you wish to embed an form into your website, but your CMS does not support OEmbed, then you can simply paste the HTML below into a page:

<script type="text/javascript" src="https://[youraccount]portal.icasework.com/resources/js/iframeResizer.min.js"></script>
<iframe src="https://[youraccount]portal.icasework.com/form?Type=[Type of form]&Embed=True&Login=False" width="100%" scrolling="no" style="border:0"></iframe>
<script>iFrameResize({checkOrigin: false});</script>

The iFrameResizer script ensures that the iFrame and self service form content resizes responsively with your website. The "checkOrigin: false" option will prevent errors due to your website and the iCasework forms residing on different domains. For further options please view documentation at https://github.com/davidjbradshaw/iframe-resizer

IFrames on iOS / Safari / Mobile browsers

iOS Safari and some other mobile browsers have particularly strict default settings with regards cookies in iFrames. 


Related content

Civica 2020. All Rights Reserved