Template:2011FR/lp-form-monthlyonly: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
Jalexander (talk | contribs) m 11 revisions from foundation:Template:2011FR/lp-form-monthlyonly |
||
(One intermediate revision by one other user not shown) | |||
Line 108: | Line 108: | ||
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_1" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-1}}}<html>" /><label for="input_amount_1"></html>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-1}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td> |
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_1" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-1}}}<html>" /><label for="input_amount_1"></html>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-1}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td> |
||
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_2" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-2}}}<html>" /><label for="input_amount_2"></html>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-2}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td> |
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_2" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-2}}}<html>" /><label for="input_amount_2"></html>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-2}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td> |
||
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_3" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-3}}}<html>" /><label for="input_amount_3"></html>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-3}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td> |
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_3" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-3}}}<html>" /><label for="input_amount_3"></html>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-3}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td> |
||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
Line 176: | Line 176: | ||
else return path; |
else return path; |
||
} |
} |
||
/* |
|||
function updateCC( currency ) { |
function updateCC( currency ) { |
||
if ( ( currency == 'AUD' ) || ( currency == 'CAD' ) || ( currency == 'EUR' ) || |
if ( ( currency == 'AUD' ) || ( currency == 'CAD' ) || ( currency == 'EUR' ) || |
||
Line 185: | Line 185: | ||
} |
} |
||
} |
} |
||
*/ |
|||
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' ); |
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' ); |
||
Line 194: | Line 193: | ||
$(document).ready(function(){ |
$(document).ready(function(){ |
||
var currency = $("#input_currency_code").val(); |
var currency = $("#input_currency_code").val(); |
||
updateCC(currency); |
|||
}) |
}) |
||
} )( jQuery ); |
} )( jQuery ); |
Latest revision as of 19:43, 1 November 2011