Created
March 4, 2013 10:42
-
-
Save mjj2000/5081427 to your computer and use it in GitHub Desktop.
Use jQuery to adjust height of iframe according to height of content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// execute script inside iframe | |
$('#iframe', parent.document).height($(document.body).outerHeight()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment