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

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 145: Line 145:


function loadCountry(){
function loadCountry(){
//alert(window.location);
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";
//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>
</script>
Line 162: Line 165:
<div>
<div>
<div id="radiobuttons-table-header">
<div id="radiobuttons-table-header">
</html>{{int:donate_interface-amount-legend}}<html>
</html>{{int:donate_interface-amount-legend}}<html> </html>{{2011FR/core-currency-symbol|{{2011FR/core-currency-code|{{{country}}}}}}}<html>
</div>
</div>
<div class="collapsible-container-trigger" id="country-container" style="cursor: pointer;" onclick="triggerClick('country');">
<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>
<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/>
<br/>
<span class="currency-collapsible-container-contained" id="country-container-contained">
<span class="currency-collapsible-container-contained" id="country-container-contained">
<select id="currency-select" onchange="loadCountry();">
<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>
<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>
{{#ifeq:{{2011FR/core-currency-code|{{{country}}}}}|USD||<option value="US">USD – $</option>}}
</html>{{#tag:html|{{#ifeq:{{2011FR/core-currency-code|{{{country}}}}}|USD||<option value="USD">USD – $</option>}}}}<html>
{{#ifeq:{{2011FR/core-currency-code|{{{country}}}}}|EUR||<option value="FR">EUR – €</option>}}
</html>{{#tag:html|{{#ifeq:{{2011FR/core-currency-code|{{{country}}}}}|EUR||<option value="EUR">EUR – €</option>}}}}<html>
</select>
</select>
</span>
</span>

Latest revision as of 19:43, 6 November 2011

Donation amount $