Automatic iFrame Sizing
To add a second JavaScript code to allow embedding and auto-resizing of remote iframed pages, you can use the postMessage API to communicate between the iframe and the parent page. Below is an example of how you can achieve this. Automatic iFrame Sizing is easy! On the remote site (iframe content): <!DOCTYPE html>
<html lang="en">
<head> <meta charset="UTF-8">