Template:2011FR/Form-section-radiobuttons-4: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
Undo revision 3728 by Cbarr (talk)
Cbarr (talk | contribs)
No edit summary
Line 140: Line 140:
}
}


function triggerClick(elem){
$('#' + elem + '-container-contained').show();
}

function loadCountry(){
var newPage = "https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage?uselang=en&country=US&template=Lp-layout-default&appeal=Appeal-default&form-countryspecific=Form-countryspecific-control&utm_medium=sitenotice&utm_source=B11_1104_MultilingualTest&utm_campaign=C11_1104_MultilingualTest";

window.location = newPage;
return false;
}
</script>
</script>


Line 148: Line 158:
</div>
</div>
</div>
</div>
<!--
<span class="collapsible-container-trigger" id="country-container-trigger"></html>{{int:donate_interface-country-dropdown-{{{country}}}}}<html> not your country?</span><br/>
<span class="currency-collapsible-container-contained" id="country-container-contained">


<div>
<select onchange="loadCountry();">
<div id="radiobuttons-table-header">
<option value="US" selected>USD – $</option>
</html>{{int:donate_interface-amount-legend}}<html>
<option value="GB">GBP – £</option>
</div>
<option value="FR">EUR – €</option>
<div class="collapsible-container-trigger" id="country-container" onclick="triggerClick('country');">
<option value="AU">AUD – $</option>
</html>{{2011FR/core-currency-symbol|{{2011FR/core-currency-code|{{{country}}}}}}}<html><span style="font-size: 0.8em">(Change?)</span>
<option value="CA">CAD – $</option>
<br/>
<option value="CH">CHF – Fr.</option>
<span class="currency-collapsible-container-contained" id="country-container-contained">
<option value="CZ">CZK – Kč</option>
<select id="currency-select" onchange="loadCountry();">
<option value="DK">DKK – kr</option>
<option value="HK">HKDHK$</option>
<option value="{{{country}}}" selected>{{2011FR/core-currency-code|{{{country}}}}}{{2011FR/core-currency-symbol|{{2011FR/core-currency-code|{{{country}}}}}}}</option>
<option value="HU">HUFFt</option>
<option value="US">USD$</option>
<option value="IL">ILS</option>
<option value="FR">EUR</option>
</select>
<option value="JP">JPY – ¥</option>
</span>
<option value="NO">NOK – kr</option>
</div>
<option value="NZ">NZD – $</option>
</div>
<option value="PL">PLN – zł</option>
<option value="SE">SEK – kr</option>
<option value="SG">SGD – S$</option>
</select>

</span>
-->


<div id="radiobuttons-table-body">
<div id="radiobuttons-table-body">
<!-- <center> -->
<!-- <center> -->

Revision as of 04:08, 6 November 2011

Donation amount {{{currency-symbol}}}
Donation amount
$(Change?)