Subscribe now and profit from benefits!

Resizable iFrame function

To activate this function on your side, there is only one small detail which needs to be changed in your iframe code:

  • A JavaScript data file has to be implemented before the iframe.
  • The attributes id and name of the iframe need to be identical and have to begin with resizeIframe.

After that you can determine the actual width of the iframe (attribute: width) to fit your design.

The new code for the iframe is as follows:

For an asynchronous request on the JavaScript the following demand may be used: