Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Auto iFrame Height
<!-- Auto iFrame Height Instructions: https://www.lost-in-code.com/programming/javascript/javascript-auto-iframe-height/ -->
<iframe class="autoHeight" id="myframe" name="myframe" src="http://example.com/iframe.php" height="240" width="320" frameborder="0" scrolling="auto"></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.