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>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> | <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><nowiki><!--{$id|escape:'urlpathinfo'}--></nowiki></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 18:19, 2 April 2018
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 <!--{$id|escape:'urlpathinfo'}--> where the code calls for the unique form ID, remove any javascript.