i-frame bug

i-frame bug

I have requested this before, but now adding in more info for support:

My wiki sites use a number of Zoho Creator forms and views, embedded using the Zoho Creator i-frame widget. The problem is that the Creator i-frame embed code uses relative sizing (as a percentage of the page) and the wiki i-frame uses absolute sizing (in pixels). This causes unexpected effects, either delivering the rendered i-frame page way too long (off the screen) or other undesirable formatting effects.

For example, here's the code for an embeddable Zoho Creator Form:

<iframe height='589px' width='100%' name='zoho-KEY' frameborder='0' scrolling='auto' src='http://creator.zoho.com/niskypto/nbb/form-embed/KEY/zc_Header=false'></iframe>



Note that it wants to use a width of 100%. Placing this in the wiki using the i-frame widget, you end up with this (viewing the html source code from the page):

<img width="990" height="589" id="zwpl134096000000039159" src="/pluginImg.zhtml?n=ZohoCreator&wid=990&hei=589" zpid="134096000000039159" class="zwPluginImage" title="This plugin will be shown after you save and close the editor." />

Note that the size of the i-frame is no longer relative, and set to 990 pixles (HUGE). Since the i-frame is no longer a relative size, it does not automatically scale for smaller browser windows. For example, here's what it looks like on a small window:



The form is OFF the PAGE: Ugly

Wiki Support: PLEASE make the option to use relative i-frame sizes using page percentages!