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

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
 
(34 intermediate revisions by the same user not shown)
Line 140:
}
 
function triggerClick(elem){
$('#' + elem + '-container-contained').show();
}
 
function loadCountry(){
//alert(window.location);
//var newPage = window.location.value;
//newCountry = $("#currency-select").value;
//newPage.replace("</html>{{{country}}}<html>",newCountry);
//alert(newPage);
//window.location = newPage;
//return false;
}
</script>
 
<!--
<div>
<div id="radiobuttons-table-header">
</html>{{int:donate_interface-amount-legend}}<html> <a id="currency-link"></html>{{{currency-symbol}}}<html><span style="font-size: 0.6em;"> (Change?)</span></a>
</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">
 
<select onchange="loadCountry();">
<option value="US" selected>USD – $</option>
<option value="GB">GBP – £</option>
<option value="FR">EUR – €</option>
<option value="AU">AUD – $</option>
<option value="CA">CAD – $</option>
<option value="CH">CHF – Fr.</option>
<option value="CZ">CZK – Kč</option>
<option value="DK">DKK – kr</option>
<option value="HK">HKD – HK$</option>
<option value="HU">HUF – Ft</option>
<option value="IL">ILS – ₪</option>
<option value="JP">JPY – ¥</option>
<option value="NO">NOK – kr</option>
<option value="NZ">NZD – $</option>
<option value="PL">PLN – zł</option>
<option value="SE">SEK – kr</option>
<option value="SG">SGD – S$</option>
</select>
 
</span>
-->
 
<div>
<div id="radiobuttons-table-header">
</html>{{int:donate_interface-amount-legend}}<html> </html>{{2011FR/core-currency-symbol|{{2011FR/core-currency-code|{{{country}}}}}}}<html>
</div>
<div class="collapsible-container-trigger" id="country-container" style="display: none; cursor: pointer;" onclick="triggerClick('country');">
<span style="font-weight: bold; font-size: 1.2em"></html>{{2011FR/core-currency-symbol|{{2011FR/core-currency-code|{{{country}}}}}}}<html></span><span style="font-size: 0.6em">(Change?)</span>
<br/>
<span class="currency-collapsible-container-contained" id="country-container-contained">
<select id="currency-select" style="font-size: <select0.5em;" onchange="loadCountry();">
<option value="</hmtl>{{{country}}}<html>" selected></html>{{2011FR/core-currency-code|{{{country}}}}}<html> – </html>{{2011FR/core-currency-symbol|{{2011FR/core-currency-code|{{{country}}}}}}}<html></option>
</html>{{#tag:html|{{#ifeq:{{2011FR/core-currency-code|{{{country}}}}}|USD||<option value="USD">USD – $</option>}}}}<html>
</html>{{#tag:html|{{#ifeq:{{2011FR/core-currency-code|{{{country}}}}}|EUR||<option value="EUR">EUR – €</option>}}}}<html>
</select>
</span>
</div>
</div>
 
<div id="radiobuttons-table-body">
<!-- <center> -->