Skip to content

Instantly share code, notes, and snippets.

Created November 15, 2017 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/77f8c08e27c92a4097af5a8181c1e70d to your computer and use it in GitHub Desktop.
Save anonymous/77f8c08e27c92a4097af5a8181c1e70d to your computer and use it in GitHub Desktop.
Usage Guidelines: The Kaiser Family Foundation encourages other organizations to embed the Subsidy Calculator on their websites. To do so, simply follow the instructions below. Please do not alter the embed code in any way without advanced permission. The subsidy calculator widget is intended to be embedded in areas between 300 px and 800 px wid…
<script type="text/javascript">
document.write('<ifr' + 'ame id="nnc-widget" frameborder="0" src="https://www.kff.org/interactive/subsidy-calculator-frameless/" width="100%" height="400"></ifr' + 'ame>');
window.addEventListener('message', function(e) {
if (e.origin !== "https://kff.org" && e.origin !== "https://www.kff.org") return;
document.getElementById('nnc-widget').style.height = e.data.height;
}, false);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment