<iframe id=”giftcard-system-iframe”

  allow=”camera; microphone”

  width=”100%”

  height=”1200″

  scrolling=”no”

  src=https://webshop.diggecard.com/no/merchant/2215/20?provider=webframe>

</iframe>

<script>

  var iframe = document.getElementById(’giftcard-system-iframe’);

  window.addEventListener(„message”, receiveMessage, false);

  function receiveMessage(event) {

    if (event.data.height) {

      iframe.setAttribute(’height’, event.data.height);

    }

  }

</script>