Set up the widget
Embed code
<iframe id="lowi-widget" src="https://lowicalc.ru/en/widget" title="LoWi loan calculator" width="100%" height="900" loading="lazy" style="border:0;max-width:100%"></iframe>
<p style="margin:6px 0 0;font:13px/1.4 system-ui,sans-serif"><a href="https://lowicalc.ru/en">LoWi loan calculator</a></p>
<script>
(function () {
var frame = document.getElementById('lowi-widget');
window.addEventListener('message', function (event) {
if (event.origin !== 'https://lowicalc.ru' || event.source !== frame.contentWindow) return;
if (!event.data || event.data.type !== 'LOWI_WIDGET_HEIGHT' || !isFinite(event.data.height)) return;
frame.height = String(Math.min(10000, Math.max(500, event.data.height)));
});
})();
</script>Paste the code into your page’s HTML where the calculator should appear. The height adjusts itself. Please keep the link under the widget so visitors can find the full version.
How the widget will look on your site