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

Content deleted Content added
Cbarr (talk | contribs)
Undo revision 3728 by Cbarr (talk)
Cbarr (talk | contribs)
No edit summary
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>
 
Line 148 ⟶ 158:
</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{{{country}}}" selected>HKD{{2011FR/core-currency-code|{{{country}}}}}HK${{2011FR/core-currency-symbol|{{2011FR/core-currency-code|{{{country}}}}}}}</option>
<option value="HUUS">HUFUSDFt$</option>
<option value="ILFR">ILSEUR</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">
<!-- <center> -->