Template:2011FR/Form-section-radiobuttons-4: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
(24 intermediate revisions by the same user not shown) | |||
Line 145:
function loadCountry(){
//var newPage = window.location.value;
//newCountry = $("#currency-select").value;
▲ window.location = newPage;
//newPage.replace("</html>{{{country}}}<html>",newCountry);
return false;▼
//alert(newPage);
//window.location = newPage;
▲ //return false;
}
</script>
Line 162 ⟶ 165:
<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: 0.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="
</html>{{#tag:html|{{#ifeq:{{2011FR/core-currency-code|{{{country}}}}}|EUR||<option value="
</select>
</span>
|