Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
}); | }); | ||
document.querySelector("iframe").addEventListener( "message", function(e) { | |||
if (e.data && e.data.params && e.data.params.height) { | |||
if ( | |||
document.getElementById("iframeWin").style.height = event.data.params.height; | document.getElementById("iframeWin").style.height = event.data.params.height; | ||
} | } | ||
} | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 13:22, 7 July 2023
Usage