On Sat, Mar 22, 2008 at 4:17 AM, Martin Webb <[EMAIL PROTECTED]>
wrote:

> Is this possible?  Can I get the gadgets actual height rather than the
> iframe height, and then set the iframe height to show the gadget in full?
>
> Several gadgets don't require the dynamic height feature, so the gadget
> server doesn't inject the dynamicHeight.js - and the container just shows
> the gadget using a default iframe height - is this the correct behaviour,
> shouldn't dynamicHeight.js always be injected into the gadget?  How is the
> container supposed to show the gadget in full?


Either:

Always create iframes that are larger than the gadgets they contain

or

Use the metadata APIs (/gadgets/metadata) to get the height specified in the
gadget.


> Regards
> Martin
> --
> Internet Related Technologies - http://www.irt.org
>



-- 
~Kevin

Reply via email to