Template:Ways to Give/PayPalSelect: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
greatly simplify - just use links instead of a form |
wrap in window load |
||
Line 1: | Line 1: | ||
<html> |
<html> |
||
<style> |
|||
#currency-list a { |
|||
float: left; |
float: left; |
||
font-weight: bold; |
font-weight: bold; |
||
Line 8: | Line 8: | ||
width: 15em; |
width: 15em; |
||
background: none; |
background: none; |
||
} |
|||
</style> |
|||
<script> |
|||
window.addEventListener('load', function() { |
|||
// Add tracking info to links |
// Add tracking info to links |
||
$('#currency-list a').attr('href', function(i, val) { |
$('#currency-list a').attr('href', function(i, val) { |
||
var uri = new mw.Uri(val); |
var uri = new mw.Uri(val); |
||
uri.extend({ |
uri.extend({ |
||
utm_medium: 'Waystogive', |
utm_medium: 'Waystogive', |
||
utm_campaign: 'C11_Waystogive', |
utm_campaign: 'C11_Waystogive', |
||
utm_source: 'Waystogive' |
utm_source: 'Waystogive' |
||
}); |
}); |
||
return uri.toString(); |
return uri.toString(); |
||
}); |
}); |
||
}); |
|||
</script> |
|||
</html> |
</html> |
||
Revision as of 16:23, 13 August 2015
U.S. dollar (USD) Euro (EUR) Australian dollar (AUD) Canadian dollar (CAD) Swiss franc (CHF) Czech koruna (CZK) Danish krone (DKK) Hong Kong dollar (HKD) Hungarian forint (HUF) Israeli shekel (ILS) Mexican peso (MXN) Norwegian krone (NOK) New Zealand dollar (NZD) Philippine peso (PHP) Polish złoty (PLN) British pound (GBP) Thai baht (THB) New Taiwan dollar (TWD)