Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Iframe not auto expanding in IE8 or lower on XP
<iframe src="/somelocalfile.htm" frameborder="0" scrolling="no" width="100%" id="myIframe" class="auto-height"></iframe>
<script type="text/javascript" src="/js/libs/iframe-auto-height/jquery.iframe-auto-height.js"></script>
<script language="JavaScript">
heightOffset: 10,
minHeight: 300

This comment has been minimized.

Copy link
Owner Author

@withremote withremote commented Feb 1, 2013

Removing the $(document).ready fixed the issue!

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.