You can easily embed our interactive CII Credit Calculator into your own website or corporate intranet. We use the Iframe Resizer library to ensure the calculator remains perfectly sized and responsive, with no messy scrollbars.
Embed Our CII Credit Calculator
1. Standard Implementation (Recommended)
Copy the code below and paste it into the HTML or embed block of your webpage. This method uses our trusted CDN links to ensure you always have the most secure and up-to-date version of the resizing tool.
<!-- CII Credit Calculator Embed -->
<iframe
id="cii-calculator"
src="https://empowerdevelopment.co.uk/tools/cii-credit-calculator/"
style="width: 1px; min-width: 100%; border: none;"
scrolling="no">
</iframe>
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.min.js"></script>
<script>
iFrameResize({
checkOrigin: ['https://empowerdevelopment.co.uk']
}, '#cii-calculator');
</script>
2. Implementation for Restricted Intranets
If your internal security policies (such as a Content Security Policy or firewall) block external scripts from cdnjs.cloudflare.com, please follow these steps:
- Whitelisting: Ask your IT administrator to whitelist
https://empowerdevelopment.co.ukwithin your environment’s Content Security Policy. - Local Hosting: Your IT team may download the required library files directly from the official sources below and host them on your internal server:
- Download Host Script (iframeResizer.min.js)
- Download Content Script (iframeResizer.contentWindow.min.js)
- Note: Please retain the original file names when hosting these on your internal server.
- Update Path: Replace the source URL in the
<script>tag of the embed code above with the path to your locally hosted version.
3. Fallback (Static Embed)
If your content management system does not allow <script> tags, you may use this static embed code. Please note that this version will not automatically adjust height and may display internal scrollbars.
<!-- CII Credit Calculator (Static Fallback) --> <iframe src="https://empowerdevelopment.co.uk/tools/cii-credit-calculator/" width="100%" height="800" frameborder="0" scrolling="yes"> </iframe>
Disclaimer & Responsibility
Version Management: If your organization chooses to host the library files locally to comply with internal security policies, your organization is responsible for ensuring the library remains up to date. * Security & Compatibility: Empower Development is not responsible for any technical conflicts or security vulnerabilities arising from outdated, locally-hosted library files. If you encounter issues, please ensure you are running the latest version of the
iframeResizerlibrary as linked above.
Troubleshooting Common Issues
If the calculator isn’t appearing correctly, please check these common fixes:
The Calculator is cut off: Ensure you have included the
<script>tag foriframeResizer.min.js. Without this, the height will not adjust automatically.The Calculator won’t load: This is likely a security restriction. Please verify that your IT team has whitelisted
[https://empowerdevelopment.co.uk](https://empowerdevelopment.co.uk)in your Content Security Policy (CSP).The script is being stripped out: Some older intranet platforms (like some versions of SharePoint or strict CMS setups) strip out
<script>tags for security. If this happens, please use our Static Fallback Code provided in Section 3, as it does not require any scripts to run.“Refused to connect” error: This usually happens if there is a typo in the URL or if your internal firewall is blocking the connection to our domain. Ensure the URL is exactly:
[https://empowerdevelopment.co.uk/tools/cii-credit-calculator/](https://empowerdevelopment.co.uk/tools/cii-credit-calculator/).