JavaScript Iframe Auto Resize

/ Published in: JavaScript
Save to your folder(s)

Given an iframe element and a header element, make the iframe just high enough to fit in the browser window. On window resize, readjust. Keep a minimum height for the iframe.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.