Widget:Jotform: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
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><nowiki>
<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'}-->; height:<!--{$height|escape:'html'|default:'600'}-->; border:none;"> </iframe></includeonly>
{{#widget:Jotform
|id=62498266138264
|width=800
|height=900
}}</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>