Widget:Jotform: Difference between revisions
Jump to navigation
Jump to search
Malcolmmcc (talk | contribs) No edit summary |
Malcolmmcc (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude></noinclude> | <noinclude>This is a bastardized version of widgets created by Malcolm McClintock. If the Jotform iFrame sequence ever changes, this widget's configuration will need to change as well. Simply insert <code><!--{$id|escape:'urlpathinfo'}--></code> where the code calls for the unique form ID, remove any javascript. </noinclude> | ||
<includeonly><iframe id="JotFormIFrame-<!--{$id|escape:'urlpathinfo'}-->" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotform.com/<!--{$id|escape:'urlpathinfo'}-->" frameborder="0" style="width:<!--{$width|escape:'html'|default:'800'}-->px; height:<!--{$height|escape:'html'|default:'600'}-->px; border:none;"> </iframe></includeonly> | <includeonly><iframe id="JotFormIFrame-<!--{$id|escape:'urlpathinfo'}-->" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotform.com/<!--{$id|escape:'urlpathinfo'}-->" frameborder="0" style="width:<!--{$width|escape:'html'|default:'800'}-->px; height:<!--{$height|escape:'html'|default:'600'}-->px; border:none;"> </iframe></includeonly> | ||
Revision as of 13:38, 2 January 2017
This is a bastardized version of widgets created by Malcolm McClintock. If the Jotform iFrame sequence ever changes, this widget's configuration will need to change as well. Simply insert where the code calls for the unique form ID, remove any javascript.