Ero sivun ”Widget:FormFix” versioiden välillä
Järvi-meriwikistä
Rivi 1: | Rivi 1: | ||
<includeonly><script type="text/javascript"> | <includeonly><script type="text/javascript"> | ||
− | + | ||
+ | function <!--{$id|default:Formfixer|escape:'html'}-->_jQueryTest() { | ||
+ | if ( typeof window.jQuery == 'undefined' ) { | ||
+ | setTimeout( function(){ <!--{$id|default:Formfixer|escape:'html'}-->_jQueryTest() }, 300); | ||
+ | } else { | ||
+ | <!--{$id|default:Formfixer|escape:'html'}-->_func(); | ||
+ | } | ||
+ | } | ||
+ | setTimeout( function(){ <!--{$id|default:Formfixer|escape:'html'}-->_jQueryTest() }, 300); | ||
+ | |||
+ | function <!--{$id|default:Formfixer|escape:'html'}-->_func() { | ||
+ | |||
var sub = '<!--{$sub|default:X|escape:'urlpathinfo'}-->'; | var sub = '<!--{$sub|default:X|escape:'urlpathinfo'}-->'; | ||
var base = '<!--{$base|default:X|escape:'urlpathinfo'}-->'; | var base = '<!--{$base|default:X|escape:'urlpathinfo'}-->'; | ||
Rivi 22: | Rivi 33: | ||
jQuery('.jwZoom').first().val('13'); | jQuery('.jwZoom').first().val('13'); | ||
} | } | ||
− | + | } | |
</script></includeonly> | </script></includeonly> |