Ways to give: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
Created page with "<html> <style> .country-list{ width: 100%; } .continent-trigger-div{ font-wieght: bold; font-size: 1em; text-align: center; color: light blue; cursor: pointer; b..."
 
fix redirect
Tag: New redirect
 
(47 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[Ways to Give]]
<html>
<style>
.country-list{
width: 100%;
}

.continent-trigger-div{
font-wieght: bold;
font-size: 1em;
text-align: center;
color: light blue;
cursor: pointer;
border: 1px solid black;
background-color: #eeeeff;
height: 2em;
width: 10em;
}

.continent-contained{
display: none;
vertical-align:top;
}

#continent-list{
width: 100%;
}

.list-td{
padding: 1em;
}
</style>

<script>
function triggerClick(elem){
$('.' + 'continent-contained').hide();
$('#' + elem + '-continent-contained').toggle();
}

String.prototype.replaceAll = function(
strTarget, // The substring you want to replace
strSubString // The string you want to replace in.
){
var strText = this;
var intIndexOfMatch = strText.indexOf( strTarget );
// Keep looping while an instance of the target string
// still exists in the string.
while (intIndexOfMatch != -1){
// Relace out the current instance.
strText = strText.replace( strTarget, strSubString )
// Get the index of any next matching substring.
intIndexOfMatch = strText.indexOf( strTarget );
}
// Return the updated string with ALL the target strings
// replaced out with the new substring.
return( strText );
}

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

newPage = newPage.replaceAll('amp;','');
newPage = newPage.replaceAll('%COUNTRY%',code);
location.replace(newPage);
}

</script>
<table class="country-list">
<tr>
<td colspan="7">
For donations by credit card, eWallet, bank transfer, direct debit or realtime, please select your continent followed by your country for payment methods available.
</td>
</tr>
<tr>
<td style="width: 10em;">
<table style="width: 10em;">
<tr>
<td class="continent-trigger-div" valign="middle" onclick="triggerClick('africa');">Africa</td>
</tr>
<tr>
<td class="continent-trigger-div" valign="middle" onclick="triggerClick('asia');">Asia</td>
</tr>
<tr>
<td class="continent-trigger-div" valign="middle" onclick="triggerClick('asia');">Middle East</td>
</tr>
<tr>
<td class="continent-trigger-div" valign="middle" onclick="triggerClick('europe');">Europe</td>
</tr>
<tr>
<td class="continent-trigger-div" valign="middle" onclick="triggerClick('namer');">North America</td>
</tr>
<tr>
<td class="continent-trigger-div" valign="middle" onclick="triggerClick(camer');">Central America</td>
</tr>
<tr>
<td class="continent-trigger-div" valign="middle" onclick="triggerClick('samer');">South America</td>
</tr>
<tr>
<td class="continent-trigger-div" valign="middle" onclick="triggerClick('oceania');">Oceania</td>
</tr>
</table>
</td>
<td>
<table>
<tr class="continent-contained" id="asia-continent-contained">
<td class="list-td">
<!--<a class="country-item" onclick="loadCountry('CN')">Abkhazia</a><br/>-->
<a class="country-item" onclick="loadCountry('AF')">Afghanistan</a><br/>
<!--<a class="country-item" onclick="loadCountry('KR')">Armenia</a><br/>-->
<a class="country-item" onclick="loadCountry('AZ')">Azerbaijan</a><br/>
<a class="country-item" onclick="loadCountry('BH')">Bahrain</a><br/>
<a class="country-item" onclick="loadCountry('BD')">Bangladesh</a><br/>
<a class="country-item" onclick="loadCountry('BT')">Bhutan</a><br/>
<a class="country-item" onclick="loadCountry('BN')">Brunei</a><br/>
<a class="country-item" onclick="loadCountry('KH')">Cambodia</a><br/>
<a class="country-item" onclick="loadCountry('CN')">China</a><br/>
<a class="country-item" onclick="loadCountry('TW')">Taiwan</a><br/>
<a class="country-item" onclick="loadCountry('TP')">East Timor</a><br/>
<a class="country-item" onclick="loadCountry('HK')">Hong Kong</a><br/>
<a class="country-item" onclick="loadCountry('IN')">India</a><br/>
</td>
<td class="list-td">
<a class="country-item" onclick="loadCountry('ID')">Indonesia</a><br/>
<!--<a class="country-item" onclick="loadCountry('IR')">Iran</a><br/>-->
<!--<a class="country-item" onclick="loadCountry('IQ')">Iraq</a><br/>-->
<a class="country-item" onclick="loadCountry('IL')">Israel</a><br/>
<a class="country-item" onclick="loadCountry('JP')">Japan</a><br/>
<a class="country-item" onclick="loadCountry('JO')">Jordan</a><br/>
<a class="country-item" onclick="loadCountry('KZ')">Kazakhstan</a><br/>
<a class="country-item" onclick="loadCountry('KW')">Kuwait</a><br/>
<!-- <a class="country-item" onclick="loadCountry('KR')">Kyrgyzstan</a><br/> -->
<!-- <a class="country-item" onclick="loadCountry('KR')">Laos</a><br/> -->
<a class="country-item" onclick="loadCountry('LB')">Lebanon</a><br/>
<a class="country-item" onclick="loadCountry('MO')">Macau</a><br/>
<a class="country-item" onclick="loadCountry('MY')">Malaysia</a><br/>
<a class="country-item" onclick="loadCountry('MV')">Maldives</a><br/>
<a class="country-item" onclick="loadCountry('MN')">Mongolia</a><br/>
<!--<a class="country-item" onclick="loadCountry('KR')">Myanmar</a><br/>-->
<!--<a class="country-item" onclick="loadCountry('KR')">Nagorno-Karabakh</a><br/>-->
<a class="country-item" onclick="loadCountry('NP')">Nepal</a><br/>
<!--<a class="country-item" onclick="loadCountry('KR')">Northern Cyprus</a><br/>-->
<!--<a class="country-item" onclick="loadCountry('KR')">North Korea</a><br/>-->
</td>
<td class="list-td">
<a class="country-item" onclick="loadCountry('OM')">Oman</a><br/>
<a class="country-item" onclick="loadCountry('PK')">Pakistan</a><br/>
<!--<a class="country-item" onclick="loadCountry('KR')">Palestine</a><br/> -->
<a class="country-item" onclick="loadCountry('PH')">Philippines</a><br/>
<a class="country-item" onclick="loadCountry('QA')">Qatar</a><br/>
<a class="country-item" onclick="loadCountry('SA')">Saudi Arabia</a><br/>
<a class="country-item" onclick="loadCountry('SG')">Singapore</a><br/>
<a class="country-item" onclick="loadCountry('KR')">South Korea</a><br/>
<a class="country-item" onclick="loadCountry('LK')">Sri Lanka</a><br/>
<a class="country-item" onclick="loadCountry('SY')">Syria</a><br/>
<a class="country-item" onclick="loadCountry('TJ')">Tajikistan</a><br/>
<a class="country-item" onclick="loadCountry('TH')">Thailand</a><br/>
<a class="country-item" onclick="loadCountry('TM')">Turkmenistan</a><br/>
</td>
<td class="list-td">
<a class="country-item" onclick="loadCountry('AE')">United Arab Emirates</a><br/>
<a class="country-item" onclick="loadCountry('UZ')">Uzbekistan</a><br/>
<a class="country-item" onclick="loadCountry('VN')">Vietnam</a><br/>
<a class="country-item" onclick="loadCountry('YE')">Yemen</a><br/>
</td>
</tr>
<tr class="continent-contained" id="namer-continent-contained">
<td class="list-td">
<a class="country-item" onclick="loadCountry('US')">United States of America</a><br/>
<!--<a class="country-item" onclick="loadCountry('CA')">Anguilla</a><br/>-->
<a class="country-item" onclick="loadCountry('AW')">Aruba</a><br/>
<a class="country-item" onclick="loadCountry('BS')">Bahamas</a><br/>
<a class="country-item" onclick="loadCountry('BB')">Barbados</a><br/>
<a class="country-item" onclick="loadCountry('BZ')">Belize</a><br/>
<a class="country-item" onclick="loadCountry('BM')">Bermuda</a><br/>
<!--<a class="country-item" onclick="loadCountry('MX')">Bonaire</a><br/>-->
<a class="country-item" onclick="loadCountry('CA')">Canada</a><br/>
<!--<a class="country-item" onclick="loadCountry('MX')">Cayman Islands</a><br/>-->
<!--<a class="country-item" onclick="loadCountry('CA')">Clipperton Island</a><br/>-->
<a class="country-item" onclick="loadCountry('CR')">Costa Rica</a><br/>
<!--<a class="country-item" onclick="loadCountry('CU')">Cuba</a><br/>-->
<a class="country-item" onclick="loadCountry('DM')">Dominica</a><br/>
<a class="country-item" onclick="loadCountry('GD')">Grenada</a><br/>
<a class="country-item" onclick="loadCountry('GP')">Guadeloupe</a><br/>
<a class="country-item" onclick="loadCountry('HT')">Haiti</a><br/>
</td>
<td class="list-td">
<a class="country-item" onclick="loadCountry('HN')">Honduras</a><br/>
<a class="country-item" onclick="loadCountry('JM')">Jamaica</a><br/>
<a class="country-item" onclick="loadCountry('MQ')">Martinique</a><br/>
<a class="country-item" onclick="loadCountry('MX')">Mexico</a><br/>
<a class="country-item" onclick="loadCountry('NI')">Nicaragua</a><br/>
<a class="country-item" onclick="loadCountry('PA')">Panama</a><br/>
<a class="country-item" onclick="loadCountry('PR')">Puerto Rico</a><br/>
<!--<a class="country-item" onclick="loadCountry('CA')">Saba</a><br/>-->
<a class="country-item" onclick="loadCountry('BL')">Saint Barthélemy</a><br/>
<a class="country-item" onclick="loadCountry('KN')">Saint Kitts and Nevis</a><br/>
<a class="country-item" onclick="loadCountry('LC')">Saint Lucia</a><br/>
<!--<a class="country-item" onclick="loadCountry('MX')">Saint Martin</a><br/>-->
<a class="country-item" onclick="loadCountry('PM')">Saint Pierre and Miquelon</a><br/>
<a class="country-item" onclick="loadCountry('VC')">Saint Vincent and the Grenadines</a><br/>
</td>
<td class="list-td">
<!--<a class="country-item" onclick="loadCountry('CA')">Sint Eustatius</a><br/>-->
<!--<a class="country-item" onclick="loadCountry('MX')">Sint Maarten</a><br/>-->
<a class="country-item" onclick="loadCountry('TT')">Trinidad and Tobago</a><br/>
<a class="country-item" onclick="loadCountry('TC')">Turks and Caicos Islands</a><br/>
<!--<a class="country-item" onclick="loadCountry('MX')">United States Virgin Islands</a><br/>-->
</td>
</tr>
<tr class="continent-contained" id="samer-continent-contained">
<td class="list-td">
<a class="country-item" onclick="loadCountry('AR')">Argentina</a><br/>
<a class="country-item" onclick="loadCountry('BO')">Bolivia</a><br/>
<a class="country-item" onclick="loadCountry('BZ')">Brazil</a><br/>
<a class="country-item" onclick="loadCountry('CL')">Chile</a><br/>
<a class="country-item" onclick="loadCountry('CO')">Colombia</a><br/>
<a class="country-item" onclick="loadCountry('EC')">Ecuador</a><br/>
<a class="country-item" onclick="loadCountry('FK')">Falkland Islands<br/>
<a class="country-item" onclick="loadCountry('GF')">French Guiana</a><br/>
<a class="country-item" onclick="loadCountry('GY')">Guyana</a><br/>
<a class="country-item" onclick="loadCountry('PY')">Paraguay</a><br/>
<a class="country-item" onclick="loadCountry('PE')">Peru</a><br/>
<a class="country-item" onclick="loadCountry('SR')">Suriname</a><br/>
</td>
<td class="list-td">
<a class="country-item" onclick="loadCountry('UY')">Uruguay</a><br/>
<a class="country-item" onclick="loadCountry('VE')">Venezuela</a><br/>
</td>
</tr>
<tr class="continent-contained" id="europe-continent-contained">
<td class="list-td">
<a class="country-item" onclick="loadCountry('GB')">United Kingdom</a><br/>
<a class="country-item" onclick="loadCountry('FR')">France</a><br/>
<a class="country-item" onclick="loadCountry('DE')">Switzerland</a><br/>
<a class="country-item" onclick="loadCountry('DE')">Germany</a><br/>
<a class="country-item" onclick="loadCountry('AL')">Albania</a><br/>
<a class="country-item" onclick="loadCountry('AD')">Andorra</a><br/>
<a class="country-item" onclick="loadCountry('AT')">Austria</a><br/>
<!--<a class="country-item" onclick="loadCountry('DE')">Belarus</a><br/>-->
<a class="country-item" onclick="loadCountry('BE')">Belgium</a><br/>
<a class="country-item" onclick="loadCountry('BA')">Bosnia and Herzegovina</a><br/>
<a class="country-item" onclick="loadCountry('BG')">Bulgaria</a><br/>
<a class="country-item" onclick="loadCountry('HR')">Croatia</a><br/>
<a class="country-item" onclick="loadCountry('CY')">Cyprus</a><br/>
</td>
<td class="list-td">
<a class="country-item" onclick="loadCountry('CZ')">Czech Republic</a><br/>
<a class="country-item" onclick="loadCountry('DK')">Denmark</a><br/>
<a class="country-item" onclick="loadCountry('EE')">Estonia</a><br/>
<a class="country-item" onclick="loadCountry('FI')">Finland</a><br/>
<a class="country-item" onclick="loadCountry('GE')">Georgia</a><br/>
<a class="country-item" onclick="loadCountry('GR')">Greece</a><br/>
<a class="country-item" onclick="loadCountry('HU')">Hungary</a><br/>
<a class="country-item" onclick="loadCountry('IS')">Iceland</a><br/>
<a class="country-item" onclick="loadCountry('IE')">Republic of Ireland</a><br/>
<a class="country-item" onclick="loadCountry('IT')">Italy</a><br/>
<a class="country-item" onclick="loadCountry('LV')">Latvia</a><br/>
<a class="country-item" onclick="loadCountry('LI')">Liechtenstein</a><br/>
</td>
<td class="list-td">
<a class="country-item" onclick="loadCountry('LT')">Lithuania</a><br/>
<a class="country-item" onclick="loadCountry('LU')">Luxembourg</a><br/>
<!--<a class="country-item" onclick="loadCountry('DE')">Republic of Macedonia</a><br/>-->
<a class="country-item" onclick="loadCountry('MT')">Malta</a><br/>
<a class="country-item" onclick="loadCountry('MD')">Moldova</a><br/>
<a class="country-item" onclick="loadCountry('MC')">Monaco</a><br/>
<a class="country-item" onclick="loadCountry('ME')">Montenegro</a><br/>
<a class="country-item" onclick="loadCountry('NL')">Netherlands</a><br/>
<a class="country-item" onclick="loadCountry('NO')">Norway</a><br/>
<a class="country-item" onclick="loadCountry('PL')">Poland</a><br/>
<a class="country-item" onclick="loadCountry('PT')">Portugal</a><br/>
<a class="country-item" onclick="loadCountry('RO')">Romania</a><br/>
<a class="country-item" onclick="loadCountry('RU')">Russia</a><br/>
</td>
<td class="list-td">
<!--<a class="country-item" onclick="loadCountry('DE')">San Marino</a><br/>-->
<a class="country-item" onclick="loadCountry('RS')">Serbia</a><br/>
<a class="country-item" onclick="loadCountry('SK')">Slovakia</a><br/>
<a class="country-item" onclick="loadCountry('SI')">Slovenia</a><br/>
<a class="country-item" onclick="loadCountry('ES')">Spain</a><br/>
<a class="country-item" onclick="loadCountry('SE')">Sweden</a><br/>
<a class="country-item" onclick="loadCountry('TR')">Turkey</a><br/>
<a class="country-item" onclick="loadCountry('UA')">Ukraine</a><br/>
<a class="country-item" onclick="loadCountry('VA')">Vatican City</a><br/>
</td>
</tr>
<tr class="continent-contained" id="africa-continent-contained">
<td class="list-td">
<a class="country-item" onclick="loadCountry('ZA')">Algeria</a><br/>
<a class="country-item" onclick="loadCountry('TD')">Angola</a><br/>
<a class="country-item" onclick="loadCountry('ZA')">Burundi</a><br/>
<a class="country-item" onclick="loadCountry('TD')">Chad</a><br/>
<a class="country-item" onclick="loadCountry('ZA')">Egypt</a><br/>
<a class="country-item" onclick="loadCountry('TD')">Ghana</a><br/>
<a class="country-item" onclick="loadCountry('ZA')">Kenya</a><br/>
<a class="country-item" onclick="loadCountry('TD')">Liberia</a><br/>
<a class="country-item" onclick="loadCountry('ZA')">Libya</a><br/>
<a class="country-item" onclick="loadCountry('TD')">Niger</a><br/>
<a class="country-item" onclick="loadCountry('ZA')">Nigeria</a><br/>
<a class="country-item" onclick="loadCountry('ZA')">South Africa</a><br/>
</td>
<td class="list-td">
<a class="country-item" onclick="loadCountry('TD')">Uganda</a><br/>
</td>
</tr>
<tr class="continent-contained" id="oceania-continent-contained">
<td class="list-td">
<a class="country-item" onclick="loadCountry('AS')">American Samoa</a><br/>
<!--<a class="country-item" onclick="loadCountry('KR')">Ashmore and Cartier Islands</a><br/>-->
<a class="country-item" onclick="loadCountry('AU')">Australia</a><br/>
<!--<a class="country-item" onclick="loadCountry('KR')">Baker Island</a><br/>-->
<a class="country-item" onclick="loadCountry('CK')">Cook Islands</a><br/>
<!--<a class="country-item" onclick="loadCountry('KR')">Coral Sea Islands</a><br/>-->
<a class="country-item" onclick="loadCountry('FJ')">Fiji</a><br/>
<a class="country-item" onclick="loadCountry('PF')">French Polynesia</a><br/>
<a class="country-item" onclick="loadCountry('GU')">Guam</a><br/>
<!--<a class="country-item" onclick="loadCountry('KR')">Howland Island</a><br/>-->
</td>
</tr>
</table>
</td>
</tr>
</table>

</html>

Latest revision as of 16:52, 15 October 2018

Redirect to: