AnsweredAssumed Answered

Healthy People 2020 Widget

Question asked by Brenda Scott on Jan 25, 2018
Latest reply on Jan 25, 2018 by Laura Gibbs

Any suggestions on how to embed this widget within a Canvas page:

<iframe id="healthdisparitiesframe" width="100%" src="https://www.healthypeople.gov/hdwidget/embed" name="healthdisparitiesframe" title="Health Disparities widget" scrolling="no" style="border: none;"><p>Your browser does not support iframes.</p></iframe> <script>(function(f){f=document.getElementById("healthdisparitiesframe");window.addEventListener('message',function(e){if(f.contentWindow===e.source){f.height=e.data;}});}());</script>

Outcomes