Can't auto detect variable height in HTML macro - Zingtree

When using the HTML macro with a service such as Zingtree which has variable heights, the macro does not adjust. 


<iframe width="100%" height="100%" frameborder="0" seamless src="">
<script type="text/javascript" src=""></script>
<script type="text/javascript">iFrameResize();</script>

No matter what we do, we can't seem to automatically detect the height or do anything else than to manually specify a height like 3000px or 2000px just to make sure all initial content is displayed.

Is there any workaround for this?


The `height` parameter in the macro editor does not work when an iframe is included in a sanitized HTML macro because there is code in place that automatically sizes those to the optimal height. That code does not currently work when the HTML being sized for includes an iframe. We have this enhancement on our backlog HTML-93 - Getting issue details... STATUS .

To work around this in the mean time you can explicitly add a wrapper div with a given height in the macro body. 

<div style="height: 2000px">
<iframe width="100%" height="100%" frameborder="0" seamless src="">